ajantha-bhat opened a new pull request, #5419:
URL: https://github.com/apache/iceberg/pull/5419
`CREATE TABLE %s (id bigint, data string, category string) USING iceberg
PARTITIONED BY (category) TBLPROPERTIES('format-version' = '2')`
`ALTER TABLE %s DROP PARTITION FIELD category`
`ALTER TABLE %s DROP COLUMN category` -- throws NPE as mentioned in #5399
- Fields in a partition spec can belong to an older schema. So, keep a
schema id mapping in partition spec field.
- TODO: test and handle backward compatibility
- TODO: Same problem can exist for sort orders also. Need to modify spec
there as well.
Fixes #5399
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]