Support Questions
Find answers, ask questions, and share your expertise

Importtsv skip first line

New Contributor

Does the importtsv have an option to skip the first line  of a CSV/TSV file?
I want to put the schema in the first line of my TSV file and I would like that this line would be ignored.


Impala allows this (when using tables as text files).

Thanks in advance!


Re: Importtsv skip first line

Master Guru
There is not such a feature in CDH5 HBase as of 5.14 yet, but you can
consider using a custom map class and skip the record line that carries
it's file offset key as 0.