Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive >> mail # user >> Hive skipping first line


Copy link to this message
-
Hive skipping first line
Hi,

 

I got some little problem with the content of hive tables.

These table's contents are generated by pig and do so have no header line,
they are accessed as "TextFile" with an external hive table. When I fetch
records through the java hive library (Version: 0.10.0-cdh4.2.0) with the
"hiveClient.fetchN(rowncount)" command, it seems like he always skip the
first line of data. (perhaps he's expecting a header row?)

How can I avoid this?

 

Greetings,

Tim Bittersohl

+
Sanjay Subramanian 2013-05-22, 17:16
+
Dean Wampler 2013-05-23, 12:01