hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-773) Empty complex constants (empty bag, empty tuple and empty map) should be supported
Date Sun, 21 Jun 2009 22:52:07 GMT

     [ 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_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.


Mime
View raw message