Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Presently Hive Iceberg supports Major compaction using HIVE ACID syntax below.
ALTER TABLE name COMPACT MAJOR [AND WAIT]
Add support for OPTIMIZE TABLE syntax. Example:
OPTIMIZE TABLE name
REWRITE DATA [USING BIN_PACK]
[ ( { FILE_SIZE_THRESHOLD | MIN_INPUT_FILES } = <value> [, ... ] ) ]
WHERE category = 'c1'
This syntax will be inline with Impala.
Also, OPTIMIZE command is not limited to compaction, but also supports other table maintenance operations.
Attachments
Issue Links
- links to