Skip to content

[SS-166] Widen dimension : u8 to i32 when writing Array values to Iceberg.#36972

Merged
ublubu merged 2 commits into
MaterializeInc:mainfrom
ublubu:ss-166
Jun 10, 2026
Merged

[SS-166] Widen dimension : u8 to i32 when writing Array values to Iceberg.#36972
ublubu merged 2 commits into
MaterializeInc:mainfrom
ublubu:ss-166

Conversation

@ublubu

@ublubu ublubu commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

This bug and fix is essentially the same thing as:
https://linear.app/materializeinc/issue/SS-143/iceberg-failed-to-convert-row-to-recordbatch-failed-to-add-insert-row

#36500

Iceberg doesn't have unsigned ints or ints narrower than 32 bits. So if we need to write an Array value, the (normally u8) dimension must be stored as i32.

@DAlperin DAlperin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thank you

@ublubu ublubu enabled auto-merge (squash) June 10, 2026 20:56
@ublubu ublubu merged commit 7d0e6c8 into MaterializeInc:main Jun 10, 2026
117 checks passed
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.

2 participants