[
https://issues.apache.org/jira/browse/HIVE-28590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17931990#comment-17931990
]
Dmitriy Fingerman commented on HIVE-28590:
------------------------------------------
FILE_SIZE_THRESHOLD has been implemented via table properties in Hive instead
of being part of compaction command syntax.
> Iceberg: Add support for FILE_SIZE_THRESHOLD to compaction command
> ------------------------------------------------------------------
>
> Key: HIVE-28590
> URL: https://issues.apache.org/jira/browse/HIVE-28590
> Project: Hive
> Issue Type: Improvement
> Components: Hive
> Reporter: Dmitriy Fingerman
> Assignee: Dmitriy Fingerman
> Priority: Major
>
> OPTIMIZE TABLE command syntax has to support FILE_SIZE_TRESHOLD element.
> When provided, only files with size < FILE_SIZE_TRESHOLD are compacted.
> {code:java}
> OPTIMIZE TABLE <table_name>
> REWRITE DATA
> [FILE_SIZE_TRESHOLD = <value>]
> WHERE category = 'c1'
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)