Skip to content

Fix/skip serialize null fields unit tests#2155

Open
mattefunnel wants to merge 2 commits intoapache:mainfrom
mattefunnel:fix/skip-serialize-null-fields-unit-tests
Open

Fix/skip serialize null fields unit tests#2155
mattefunnel wants to merge 2 commits intoapache:mainfrom
mattefunnel:fix/skip-serialize-null-fields-unit-tests

Conversation

@mattefunnel
Copy link
Copy Markdown

@mattefunnel mattefunnel commented Feb 20, 2026

Which issue does this PR close?

Closes #2135

What changes are included in this PR?

Unit tests for #2136

(But it is based on jonbjo:fix/skip-serialize-null-fields from that PR, so it also has those changes.)

Are these changes tested?

Yes. The original PR contained the changes, this PR contains those changes and additional unit tests.

Note about failing Bindings Python CI test:

  • I don't think that it is related to my changes
  • This Workflow seems to be broken for everybody since Feb 20

Jonas Björk and others added 2 commits February 23, 2026 21:21
Add round-trip serialization tests that verify optional fields are
omitted (not serialized as null) when absent, as requested in apache#2136.

- CreateTableRequest: full and minimal round-trip serde test
- UnboundPartitionSpec: assert serialized output matches expected JSON
@kevinjqliu kevinjqliu force-pushed the fix/skip-serialize-null-fields-unit-tests branch from d490ec3 to 335fbd8 Compare February 24, 2026 02:21
@github-actions
Copy link
Copy Markdown
Contributor

This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@iceberg.apache.org list. Thank you for your contributions.

@github-actions github-actions bot added the stale label Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

REST catalog CreateTableRequest sends explicit null values, causing 400 errors with Polaris

1 participant