Skip to content

feat: support List and Struct type for KeyValue in inserted_rows.rs#5713

Merged
yanghua merged 1 commit intolance-format:mainfrom
wojiaodoubao:nested-datatype-for-merge-insert-key-value
Jan 21, 2026
Merged

feat: support List and Struct type for KeyValue in inserted_rows.rs#5713
yanghua merged 1 commit intolance-format:mainfrom
wojiaodoubao:nested-datatype-for-merge-insert-key-value

Conversation

@wojiaodoubao
Copy link
Copy Markdown
Contributor

Using List and Struct type as primary key.

@wojiaodoubao wojiaodoubao marked this pull request as draft January 14, 2026 09:41
@github-actions github-actions Bot added the enhancement New feature or request label Jan 14, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 14, 2026

Codecov Report

❌ Patch coverage is 92.32176% with 42 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...ce/src/dataset/write/merge_insert/inserted_rows.rs 85.54% 32 Missing and 5 partials ⚠️
rust/lance/src/dataset/write/merge_insert.rs 98.28% 3 Missing and 2 partials ⚠️

📢 Thoughts on this report? Let us know!

@wojiaodoubao wojiaodoubao force-pushed the nested-datatype-for-merge-insert-key-value branch 2 times, most recently from 172d7c4 to 569289c Compare January 14, 2026 13:29
@wojiaodoubao wojiaodoubao marked this pull request as ready for review January 14, 2026 13:47
@wojiaodoubao
Copy link
Copy Markdown
Contributor Author

Hi @yanghua , could you help review this when you have time, thanks very much~

Copy link
Copy Markdown
Collaborator

@yanghua yanghua left a comment

Choose a reason for hiding this comment

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

For the feature, I have no concern. Two suggestions:

  • try to reduce the test codes, there are many duplicated snippets we can reduce;
  • can we add at least one test case to do an e2e test for the merge insert api(define a pk by using the supported types in this PR that try to support)

Comment thread rust/lance/src/dataset/write/merge_insert.rs Outdated
@wojiaodoubao wojiaodoubao force-pushed the nested-datatype-for-merge-insert-key-value branch from 569289c to edec2b5 Compare January 16, 2026 04:02
Copy link
Copy Markdown
Collaborator

@yanghua yanghua left a comment

Choose a reason for hiding this comment

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

+1

@yanghua yanghua merged commit e888153 into lance-format:main Jan 21, 2026
45 of 48 checks passed
vivek-bharathan pushed a commit to vivek-bharathan/lance that referenced this pull request Feb 2, 2026
…ance-format#5713)

Using List and Struct type as primary key.

Co-authored-by: lijinglun <lijinglun@bytedance.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants