Follow the below steps to load the data into an orc table from a parquet table in hive,
1) Create a table and load data in it,
I have created a table, stored it as a textfile and loaded the text file in it as the text file cannot be loaded directly in the parquet table.
2) Create a parquet table,
3) Insert the data in the parquet table from the text table,
4) Check if the data is inserted into the parquet table or not,
5) Create an orc table
6) Insert the data in the orc table from the parquet table
7) Check the contents of the orc table