pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Dai <da...@hortonworks.com>
Subject Re: PigStorage and ORC inputFormat
Date Wed, 21 May 2014 18:30:05 GMT
That's basically right. Input (key/value) pair of mapper is (Text
(don't care), Tuple), and the output is (PigNullableWritable(shuffle
key), Writable(value)). LoadFunc (PigStorage, OrcStorage) is
responsible to translate WritableComparable from InputFormat to Pig


On Wed, May 21, 2014 at 5:34 AM, Abbass MAROUNI
<abbass.marouni@virtualscale.fr> wrote:
> Hi all,
> PigStoarge parsing a csv file, did I get it right :
> HDFS_Block -> TextInputFormat -> (Key:offset, Value:line) -> PigStorage ->
> Tuple -> Mapper ?
> If so, what are the input/output (key, value) pairs of the mapper ?
> How does formats like RC/ORC (that promise to read less input) work ?
> HDFS_Block -> ORCInputFormat (concerned columns only) -> (Key, Value) ->
> ORCParser ? -> Tuple -> Mapper ?
> Best regards,

NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

View raw message