Skip to content

fix(merge_insert): accept legacy blob input for Blob v2 columns - #9741

Merged
wjones127 merged 1 commit into
lance-format:mainfrom
wkalt:ticket/oss-2537/merge-insert-legacy-blob
Oct 6, 2026
Merged

wjones127 merged 1 commit into
lance-format:mainfrom
wkalt:ticket/oss-2537/merge-insert-legacy-blob

Conversation

@wkalt

@wkalt wkalt commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Since #9459, create and append on file format 2.2+ accept legacy blob-marked binary input and convert it to Blob v2. Merge insert still compared the source schema strictly, so the input that created a table failed to upsert into it: "blob should have type struct but type was large_binary". With 2.2 now the default, this hits any table written from legacy blob input.

The merge source checks now match legacy blob input to Blob v2 as append does, and the pre-write blob rewrite passes byte input through to the writer, which already converts it.

Since lance-format#9459, create and append on file format 2.2+ accept legacy
blob-marked binary input and convert it to Blob v2. Merge insert still
compared the source schema strictly, so the input that created a table
failed to upsert into it: "`blob` should have type struct but type was
large_binary". With 2.2 now the default, this hits any table written
from legacy blob input.

The merge source checks now match legacy blob input to Blob v2 as
append does, and the pre-write blob rewrite passes byte input through
to the writer, which already converts it.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@github-actions github-actions Bot added the bug Something isn't working label Oct 6, 2026

@lance-gatekeeper lance-gatekeeper Bot 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.

✅ Gate recommendation: approve.

No blocking issues found. The 12-case legacy-blob matrix and five Blob v2/schema-validation regressions passed locally.

@lance-gatekeeper lance-gatekeeper Bot added the K-approved Latest Gatekeeper recommendation permits acceptance. label Oct 6, 2026
@wjones127
wjones127 merged commit 8e46367 into lance-format:main Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working K-approved Latest Gatekeeper recommendation permits acceptance.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants