kokila-19 opened a new pull request, #6256: URL: https://github.com/apache/hive/pull/6256
### What changes were proposed in this pull request? Implemented Natural ordering(write ordered by) ALTER TABLE DDL support for Iceberg tables. ### Why are the changes needed? Existing tables can be converted to natural ordered tables using ALTER command. Note that only the data inserted after alter query are ordered, not existing data. ### Does this PR introduce _any_ user-facing change? yes, supported new syntax SYNTAX: ALTER TABLE table_name SET WRITE ORDERED BY column_name sort_direction NULLS FIRST/LAST, ... EXAMPLE: ALTER TABLE table_order SET WRITE ORDERED BY id desc nulls first, name asc nulls last; ### How was this patch tested? qtest -- 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]
