Skip to content

Fix bug causing in-memory data folder to fail - #340

Merged
CGodiksen merged 1 commit into
mainfrom
bug/in-memory-data-folder
Aug 4, 2025
Merged

Fix bug causing in-memory data folder to fail#340
CGodiksen merged 1 commit into
mainfrom
bug/in-memory-data-folder

Conversation

@CGodiksen

Copy link
Copy Markdown
Collaborator

This PR fixes #339 by changing the location used for an in-memory DeltaLake. It is not clear what caused the issue, but it seems that a change to the object_store crate made it so a leading / is necessary when specifying the path. The same pattern is consistently used both in tests for the object_store crate and for the delta_lake crate.

@CGodiksen CGodiksen self-assigned this Aug 1, 2025
@CGodiksen
CGodiksen requested a review from Copilot August 1, 2025 08:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a bug where in-memory Delta Lake data folders were failing due to an incorrect path format. The fix addresses issue #339 by adding a leading slash to the memory location path, aligning with the expected format required by recent changes in the object_store crate.

  • Updated the memory location path format from "memory://modelardb" to "memory:///modelardb"

@CGodiksen
CGodiksen merged commit a560561 into main Aug 4, 2025
4 checks passed
@CGodiksen
CGodiksen deleted the bug/in-memory-data-folder branch August 4, 2025 07:01
aabduvakhobov pushed a commit to aabduvakhobov/ModelarDB-RS that referenced this pull request Aug 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

It is not possible to start modelardbd with an in-memory local data folder

4 participants