Is it possible to dereference a column part of a nested bag. In the schema
given below, I am trying to dereference the columns Key and Value which is
part of visit bag which is part of visits bag.

 

(id, visits:bag{visittuple:tuple(timestamp,
visit:bag{details:tuple(Key:chararray, Value:chararray)})})

 

>From the SVN trunk of Pig I could see a fix for this (PIG-1866, the fix for
dereferencing a bag within tuple does not work). Does it also addresses
nested bags? If so for the above example can it be dereferenced as
visits.visit.Key. I tried it against the latest trunk, but it failed. 

 

Thanks,

badri



Disclaimer: This message (including any attachments) is being sent from Fifth 
Generation Technologies India (P) Ltd. (5G) and may contain information that is 
proprietary, confidential and privileged. If you are not the intended 
recipient, please inform the sender immediately by reply e-mail and delete this 
message and attachments from your system, without retaining a copy. Any 
unauthorized use or dissemination of this message in whole or in part is 
strictly prohibited. 5G shall  not be liable for the improper or incomplete 
transmission of the information contained in this  communication nor for any 
delay in its receipt or damage to your system. 5G does not guarantee that the 
integrity of this communication has been maintained nor that this communication 
is free of viruses, interceptions or interference.

Reply via email to