amogh-jahagirdar commented on issue #9698: URL: https://github.com/apache/iceberg/issues/9698#issuecomment-1938098558
Checkout https://iceberg.apache.org/docs/latest/spark-ddl/#alter-table for how to re-order columns. >but it looks like rewriteManifests does not rewrite the metadata tree with the re-ordered partitions for older data - it only starts applying for new data - is the only way to make this apply for all historical data via the rewriteDataFiles Action? Yes if you want to rewrite past data with the updated partitioning you need to perform a rewriteDataFiles. This is because there are effectively new partition values that need to be computed. -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org