edgarRd opened a new pull request #2293: URL: https://github.com/apache/iceberg/pull/2293
Currently, even thought the `BaseRewriteDataFilesAction` allows for using an output spec to group the files to rewrite, the actual output partition spec is not used in the `RowDataRewriter`, producing the incorrect number of files. This PR sets the spec in the `RowDataRewriter`, if the spec is not modified and is the same as the `table.spec()` this PR has not effective change. However, if the output spec is specified, the new expected number of files according to the output spec should be reflected. I've added a unit test to validate setting output spec. PTAL @jerryshao @rdblue @aokolnychyi ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
