...
Code Block | ||
---|---|---|
| ||
ALTER TABLE table_name COMPACT 'minor' WITH OVERWRITE TBLPROPERTIES ("compactor.mapreduce.map.memory.mb"="3072"); -- specify compaction map job properties ALTER TABLE table_name COMPACT 'major' WITH OVERWRITE TBLPROPERTIES ("tblprops.orc.compress.size"="8192"); -- change any other Hive table properties |
Talks and Presentations
Transactional Operations In Hive by Eugene Koifman at Dataworks Summit 2017, San Jose, CA, USA