pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gianmarco De Francisci Morales (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-2315) Make as clause work in generate
Date Mon, 24 Oct 2011 11:35:32 GMT

    [ https://issues.apache.org/jira/browse/PIG-2315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13133991#comment-13133991
] 

Gianmarco De Francisci Morales commented on PIG-2315:
-----------------------------------------------------

What is the desired solution?
To make the aforementioned syntax work as a cast or to allow only explicit casting?
E.g.
{code}
A1 = foreach A1 generate (chararray) a;
{code}

                
> Make as clause work in generate
> -------------------------------
>
>                 Key: PIG-2315
>                 URL: https://issues.apache.org/jira/browse/PIG-2315
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Olga Natkovich
>
> Currently, the following syntax is supported and ignored causing confusing with users:
> A1 = foreach A1 generate a as a:chararray ;
> After this statement a just retains its previous type

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message