openinx commented on issue #1973: URL: https://github.com/apache/iceberg/issues/1973#issuecomment-749973267
Currently, the RewriteDataFilesAction does not support compacting in a single partition directly, but provided a row [filter](https://github.com/apache/iceberg/blob/da9a0b24f21a4390a5270d94c576b62f3b49caec/core/src/main/java/org/apache/iceberg/actions/BaseRewriteDataFilesAction.java#L188) option to filter those data files that need to compact. If you have a column `ts` and partitioned by `day(ts)`, I think you can use the expression `Expressions.equals("ts", "2020-12-23")` to execute the rewrite files action. ---------------------------------------------------------------- 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]
