티스토리 뷰

728x90
INSERT OVERWRITE TABLE table_name_orc 
SELECT * FROM table_name

https://community.cloudera.com/t5/Support-Questions/How-to-convert-hive-table-format-to-ORC/td-p/281421

 

How to convert hive table format to ORC

I have a super large json file and I have created an external hive table to read the file which is partitioned by date and hour. However, I ran into out-of-memory error when pulling out data for just one day.  For now the output is stored in the text form

community.cloudera.com

 

728x90
댓글