[ https://issues.apache.org/jira/browse/PIG-773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashutosh Chauhan updated PIG-773: --------------------------------- Attachment: pig-773.patch Currently Parser assumes non-empty complex constants, so it fails when it encounters an empty complex constants. Patch is included which fixes this. A new regex production is added to process empty complex constants, > 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 > > > 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.