Skip to content

fix: add missing write_array impl to IcebergBinaryRowWriter#477

Merged
leekeiabstraction merged 1 commit into
apache:mainfrom
leekeiabstraction:fix/iceberg-missing-write-array
Apr 5, 2026
Merged

fix: add missing write_array impl to IcebergBinaryRowWriter#477
leekeiabstraction merged 1 commit into
apache:mainfrom
leekeiabstraction:fix/iceberg-missing-write-array

Conversation

@leekeiabstraction

Copy link
Copy Markdown
Contributor

Summary

  • The BinaryWriter trait gained a write_array method (from the array data type support PR feat: Add array data type support #433), but IcebergBinaryRowWriter was not updated, causing a build failure on main.
  • Added the missing write_array implementation that panics with a clear message, since array values are unsupported as Iceberg bucket keys (consistent with set_null_at and the existing create_value_writer rejection).

Test plan

  • cargo build --workspace --all-targets passes
  • cargo test --workspace — all 312 unit tests pass

The BinaryWriter trait gained a write_array method but the
IcebergBinaryRowWriter impl was not updated, causing a build failure.
Array values are unsupported as Iceberg bucket keys, so the method
panics with a clear message, consistent with set_null_at.
@leekeiabstraction

leekeiabstraction commented Apr 5, 2026

Copy link
Copy Markdown
Contributor Author

@fresh-borzoni Appreciate if you can review this small PR to fix CI failure on main

@fresh-borzoni fresh-borzoni 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.

+1

@leekeiabstraction leekeiabstraction merged commit 1709ab5 into apache:main Apr 5, 2026
8 checks passed
@leekeiabstraction leekeiabstraction deleted the fix/iceberg-missing-write-array branch April 5, 2026 19:43
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