Skip to content

Fix TableUpdate union to include partition statistics updates - #15115

Merged
amogh-jahagirdar merged 1 commit into
apache:mainfrom
logesh45:fix-table-update-union-18127239874421262962
Feb 4, 2026
Merged

amogh-jahagirdar merged 1 commit into
apache:mainfrom
logesh45:fix-table-update-union-18127239874421262962

Conversation

@logesh45

Copy link
Copy Markdown
Contributor

fix: Include SetPartitionStatisticsUpdate and RemovePartitionStatisticsUpdate in TableUpdate union

The SetPartitionStatisticsUpdate and RemovePartitionStatisticsUpdate were defined in the OpenAPI spec but missing from the TableUpdate union. This caused the generated Python client and other consumers to not recognize these updates as valid table updates. This commit adds them to the TableUpdate union in rest-catalog-open-api.yaml and regenerates rest-catalog-open-api.py.

logesh45#1

…csUpdate in TableUpdate union

The `SetPartitionStatisticsUpdate` and `RemovePartitionStatisticsUpdate` were defined in the OpenAPI spec but missing from the `TableUpdate` union.
This caused the generated Python client and other consumers to not recognize these updates as valid table updates.
This commit adds them to the `TableUpdate` union in `rest-catalog-open-api.yaml` and regenerates `rest-catalog-open-api.py`.

@amogh-jahagirdar amogh-jahagirdar 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.

Thanks @logesh45 , I agree with adding this, though I think we may just want to send a note on the dev list so that the community is aware.

@logesh45

Copy link
Copy Markdown
Contributor Author

Thanks @logesh45 , I agree with adding this, though I think we may just want to send a note on the dev list so that the community is aware.

Hi, Sorry I'm new here. how do I do that? what is the criteria to get this merged?

@amogh-jahagirdar

Copy link
Copy Markdown
Contributor

@logesh45 no problem, I went ahead and just kicked a thread off https://lists.apache.org/thread/dly4g6wp5c83czvxyl6fhhncb7kc85dk

since this is a simple enough correction, where it was an oversight on the original PR. We probably should just be able to merge, but I wanted to make sure folks were aware before just merging this.

@kevinjqliu kevinjqliu 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.

great catch

@amogh-jahagirdar

Copy link
Copy Markdown
Contributor

Thanks @logesh45 and everyone for reviewing, I'll go ahead and merge since there's been no objections on the mailing list thread

@amogh-jahagirdar
amogh-jahagirdar merged commit f035953 into apache:main Feb 4, 2026
9 checks passed
talatuyarer pushed a commit to talatuyarer/iceberg that referenced this pull request Apr 1, 2026
…atisticsUpdate in TableUpdate union (apache#15115)

The `SetPartitionStatisticsUpdate` and `RemovePartitionStatisticsUpdate` were defined in the OpenAPI spec but missing from the `TableUpdate` union.
This caused the generated Python client and other consumers to not recognize these updates as valid table updates.
This commit adds them to the `TableUpdate` union in `rest-catalog-open-api.yaml` and regenerates `rest-catalog-open-api.py`.
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.