hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ltcuong211 <ltcuong...@gmail.com>
Subject Support multilines in 1 record in Hive
Date Wed, 29 Oct 2014 18:49:28 GMT
Hi all,

Does Hive support multilines for a record? Eg: xml data with more than 1 
line. 2 XML data records:
<a id='1'>
     <b>
     </b>
</a>
<a id='2'>
     <b>
     </b>
</a>

I try to implement a InputFormat (GetSplits and RecordReader) and use it 
in a Hive table:
|*STORED AS INPUTFORMAT org....myinputformat*

But Hive only calls my RecordReader, not |GetSplits . I see Hive calls 
CombineHiveInputFormat.getSplits.
Do you know how to let Hive uses my Getsplits method? Or A way to 
support multilines in a record in Hive?

Thank you.
CL

Mime
View raw message