How to see contents of Hive orc files in linux
问题 Is there a way to see the contents of an orc file that hive 0.11 and above use. I usually cat gz files and decompress them to see the contents eg: cat part-0000.gz | pigz -d | more Note: pigz is a parallel gz program. I would like to know if there is something similar to this for orc files. 回答1: The ORC file dump utility comes with hive (0.11 or higher): hive --orcfiledump <hdfs-location-of-orc-file> Source link 回答2: There is now also a native executable for Linux and MacOS that prints the