You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2020/12/23 06:54:42 UTC

[GitHub] [iceberg] openinx commented on issue #1973: Can we compact data files by some partition?

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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org