hive
hive copied to clipboard
HIVE-28342: Iceberg: Major QB Compaction support filter in compaction…
… request
What changes were proposed in this pull request?
Ability to specify where clause in compaction requests.
Why are the changes needed?
OPTIMIZE TABLE command's syntax needs to support WHERE clause. In Hive, OPTIMIZE TABLE command is implemented as an alias to ALTER TABLE COMPACT command. This PR adds where clause support for ALTER TABLE COMPACT command as a step towards adding support for where clause in OPTIMIZE TABLE command.
Does this PR introduce any user-facing change?
Yes, it extends ALTER TABLE ... COMPACT command.
Is the change a dependency upgrade?
No
How was this patch tested?
New query tests added.
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code