Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Hive ORC format

$
0
0

Hi,

I created a text file with following values

1,2,3
2,3,4
3,4,5

then created a Hive managed table t with clause STORED AS ORC. Then Loaded the managed table with the text file created(As mentioned above). When I query on hive shell, select * from t’, I got an exception stating malformed ORC file.

But How can I convert the Text file to ORC file without using any intermediate table and using nested queries, is it possible? or Is it possible convert my Text file to ORC File format?

Regards,
Sandeep


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>