Skip to content

feat: implement create index and data replacement conflict rules#5077

Merged
westonpace merged 1 commit intolance-format:mainfrom
westonpace:feat/create-index-data-replace-compat
Oct 28, 2025
Merged

feat: implement create index and data replacement conflict rules#5077
westonpace merged 1 commit intolance-format:mainfrom
westonpace:feat/create-index-data-replace-compat

Conversation

@westonpace
Copy link
Copy Markdown
Member

If we are creating an index on field X and a data replacement happens on field Y then this should not trigger a conflict

@github-actions github-actions Bot added enhancement New feature or request python labels Oct 27, 2025
@westonpace westonpace changed the title feat: implement create index and data replacmenet conflict rules feat: implement create index and data replacement conflict rules Oct 27, 2025
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Oct 27, 2025

Codecov Report

❌ Patch coverage is 8.82353% with 31 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.69%. Comparing base (f653be3) to head (81bff17).

Files with missing lines Patch % Lines
rust/lance/src/io/commit/conflict_resolver.rs 8.82% 31 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5077      +/-   ##
==========================================
- Coverage   81.75%   81.69%   -0.06%     
==========================================
  Files         340      340              
  Lines      138817   138845      +28     
  Branches   138817   138845      +28     
==========================================
- Hits       113484   113431      -53     
- Misses      21595    21676      +81     
  Partials     3738     3738              
Flag Coverage Δ
unittests 81.69% <8.82%> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

@jackye1995 jackye1995 left a comment

Choose a reason for hiding this comment

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

looks good to me

Copy link
Copy Markdown
Contributor

@wjones127 wjones127 left a comment

Choose a reason for hiding this comment

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

Sounds good. Once this is merged I'll rebase #3631 and fill in the remaining rules.

…'t modify same field

Also implement the other half of the resolver
@westonpace westonpace force-pushed the feat/create-index-data-replace-compat branch from b62cddc to 81bff17 Compare October 28, 2025 03:47
@westonpace westonpace merged commit 3d986cc into lance-format:main Oct 28, 2025
26 of 27 checks passed
jackye1995 pushed a commit to jackye1995/lance that referenced this pull request Jan 21, 2026
…ce-format#5077)

If we are creating an index on field X and a data replacement happens on
field Y then this should not trigger a conflict
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants