You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Lior Schachter <li...@gmail.com> on 2013/08/22 11:26:32 UTC
SerDe for CSV files
Hi all,
I wrote a simple SerDe to deserialize CSV files defined as external table.
The CSV files contain a header with columns names.
I would like to skip the header while executing select * from my table.
Example:
CSV file content:
a,b,c
1,2,3
4,5,6
select * from my_table;
should return:
1,2,3
4,5,6
Is there a hook to make the framework to skip a specific line ?
I'd appreciate your advise. Using Hive 0.11.0.
Thanks,
Lior