[ https://issues.apache.org/jira/browse/PIG-2315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13647945#comment-13647945 ]
Daniel Dai commented on PIG-2315: --------------------------------- Agree. However, we cannot break backward incompatibility by disallowing "()" style cast. We definitely don't encourage using different style of cast. We can mark "()" deprecate though. > 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 > Assignee: Gianmarco De Francisci Morales > Fix For: 0.12 > > > 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 For more information on JIRA, see: http://www.atlassian.com/software/jira