Skip to content

fix: support ManifestNamingSchemeV2 with unordered object stores#5539

Merged
wjones127 merged 1 commit intolance-format:mainfrom
wjones127:fix/name-scheme-v2
Dec 18, 2025
Merged

fix: support ManifestNamingSchemeV2 with unordered object stores#5539
wjones127 merged 1 commit intolance-format:mainfrom
wjones127:fix/name-scheme-v2

Conversation

@wjones127
Copy link
Copy Markdown
Contributor

Summary

  • Fix current_manifest_path to handle V2 naming scheme when list_is_lexically_ordered = false
  • Previously errored with "Found V2 manifest in a V1 manifest directory" on stores like S3 Express
  • Now tracks scheme from first manifest and errors on mixed schemes instead

Test plan

  • Added parameterized test test_current_manifest_path covering all combinations of lexical ordering and naming scheme
  • All 81 lance-table tests pass

Fixes #5521

🤖 Generated with Claude Code

When `list_is_lexically_ordered = false` (e.g., S3 Express), the code
incorrectly assumed V1 naming scheme and errored on V2 manifests.

The fix tracks the scheme from the first manifest and errors on mixed
schemes instead of specifically on V2.

Fixes lance-format#5521

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the bug Something isn't working label Dec 18, 2025
@wjones127 wjones127 marked this pull request as ready for review December 18, 2025 18:41
@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 18, 2025

Codecov Report

❌ Patch coverage is 73.91304% with 6 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
rust/lance-table/src/io/commit.rs 73.91% 5 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@wjones127 wjones127 merged commit 09f9379 into lance-format:main Dec 18, 2025
28 of 30 checks passed
wjones127 added a commit to wjones127/lance that referenced this pull request Dec 19, 2025
…ce-format#5539)

## Summary
- Fix `current_manifest_path` to handle V2 naming scheme when
`list_is_lexically_ordered = false`
- Previously errored with "Found V2 manifest in a V1 manifest directory"
on stores like S3 Express
- Now tracks scheme from first manifest and errors on mixed schemes
instead

## Test plan
- [x] Added parameterized test `test_current_manifest_path` covering all
combinations of lexical ordering and naming scheme
- [x] All 81 lance-table tests pass

Fixes lance-format#5521

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
wjones127 added a commit that referenced this pull request Dec 19, 2025
## Summary
- Fix `current_manifest_path` to handle V2 naming scheme when
`list_is_lexically_ordered = false`
- Previously errored with "Found V2 manifest in a V1 manifest directory"
on stores like S3 Express
- Now tracks scheme from first manifest and errors on mixed schemes
instead

## Test plan
- [x] Added parameterized test `test_current_manifest_path` covering all
combinations of lexical ordering and naming scheme
- [x] All 81 lance-table tests pass

Fixes #5521

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
wjones127 added a commit to wjones127/lance that referenced this pull request Dec 30, 2025
…ce-format#5539)

## Summary
- Fix `current_manifest_path` to handle V2 naming scheme when
`list_is_lexically_ordered = false`
- Previously errored with "Found V2 manifest in a V1 manifest directory"
on stores like S3 Express
- Now tracks scheme from first manifest and errors on mixed schemes
instead

## Test plan
- [x] Added parameterized test `test_current_manifest_path` covering all
combinations of lexical ordering and naming scheme
- [x] All 81 lance-table tests pass

Fixes lance-format#5521

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
jackye1995 pushed a commit to jackye1995/lance that referenced this pull request Jan 21, 2026
…ce-format#5539)

## Summary
- Fix `current_manifest_path` to handle V2 naming scheme when
`list_is_lexically_ordered = false`
- Previously errored with "Found V2 manifest in a V1 manifest directory"
on stores like S3 Express
- Now tracks scheme from first manifest and errors on mixed schemes
instead

## Test plan
- [x] Added parameterized test `test_current_manifest_path` covering all
combinations of lexical ordering and naming scheme
- [x] All 81 lance-table tests pass

Fixes lance-format#5521

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error when using ManifestNamingSchemeV2 and list_is_lexically_ordered = false

2 participants