Ashutosh Chauhan updated PIG-773:

    Attachment: pig-773_v2.patch

This patch doesn't have extra EmptyConstant production but rather matches for 
empty content of bag / tuple / map in their respective productions. As a result 
it avoids the unintuitive logic as Santhosh pointed above.

> Empty complex constants (empty bag, empty tuple and empty map) should be 
> supported
> ----------------------------------------------------------------------------------
>                 Key: PIG-773
>                 URL: https://issues.apache.org/jira/browse/PIG-773
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.2.0
>            Reporter: Pradeep Kamath
>            Priority: Minor
>         Attachments: pig-773.patch, pig-773_v2.patch
> We should be able to create empty bag constant using {}, empty tuple constant 
> using (), empty map constant using [] within a pig script

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to