hiveparquetsequencefile

Conversion of Parquet file format to sequence file format


I have my hive tables stored as Parquet format in a location in HDFS. Can I convert the parquet files in this location to Sequence file format and build hive tables over it? Is there any procedure to do this conversion?


Solution

  • Create new sequence file table and reload data using insert select:

    insert into sequence_table
    select * from parquet_table;