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 tuple.
Thanks, Daniel On Wed, May 21, 2014 at 5:34 AM, Abbass MAROUNI <[email protected]> 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, -- CONFIDENTIALITY NOTICE 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.
