@Pugazhvanan parthibanIt is not possible to directly load a text file into a ORC table. Steps to load data into ORC file format in hive:
1.Create one normal table using textFile format.
2.Load the data normally into this table.
3.Create one table with the schema of the expected results of your normal hive table using stored as orcfile.
4.Insert overwrite query to copy the data from textFile table to orcfile table.