You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Gianmarco De Francisci Morales (Commented) (JIRA)" <ji...@apache.org> on 2011/10/24 13:35:32 UTC
[jira] [Commented] (PIG-2315) Make as clause work in generate
[ 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