ajantha-bhat opened a new pull request, #6296: URL: https://github.com/apache/iceberg/pull/6296
For `RewriteDataFilesProcedure`, when the table has been created with a default sort order, there should be no need for the user to again specify the same sort order for the sort strategy during re-write. Currently, it fails with `Cannot set strategy sort order: unsorted` error for this scenario. This particular scenario works with rewrite spark action now also and used to work with `RewriteDataFilesProcedure` too. But while introducing `Zorder` with re-write procedure, a strict check has been introduced which caused this particular scenario to fail. This would have not happened if we had a test case to catch it. Fixed it now and added the test case. -- 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