You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Uri Laserson (JIRA)" <ji...@apache.org> on 2013/01/22 23:40:13 UTC

[jira] [Created] (PIG-3130) Support for nested projections

Uri Laserson created PIG-3130:
---------------------------------

             Summary: Support for nested projections
                 Key: PIG-3130
                 URL: https://issues.apache.org/jira/browse/PIG-3130
             Project: Pig
          Issue Type: Improvement
          Components: parser
    Affects Versions: 0.10.0
            Reporter: Uri Laserson


I have tuple like so:

    (a: (b:int, c:int, d:int, e:int))

I would like to call a UDF and pass a range of the nested tuple. This is what I would expect the command to be:

    FOREACH alias GENERATE myUDF(a.(c .. e));

but this gives me an error like

    ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: <line 12, column 133>  mismatched input '(' expecting SEMI_COLON


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira