How to convert .txt / .csv file to ORC format
You can insert text data into a orc table by such command:
insert overwrite table orcTable select * from textTable;
The first table is orcTable is created by the following command:
create table orcTable(name string, city string) stored as orc;
And the textTable is as the same structure as orcTable.