[ https://issues.apache.org/jira/browse/PIG-2267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182143#comment-13182143 ]
Daniel Dai commented on PIG-2267: --------------------------------- +1. Pretty good change. The next step is to simply the syntax for cast as well (eg, foreach a generate (bag{tuple(int,double)})a0). Will commit once tests pass. > Make the name of the columns in schema optional > ----------------------------------------------- > > Key: PIG-2267 > URL: https://issues.apache.org/jira/browse/PIG-2267 > Project: Pig > Issue Type: Bug > Components: parser > Affects Versions: 0.9.0, 0.10, 0.11 > Reporter: Ashutosh Chauhan > Assignee: Jonathan Coveney > Fix For: 0.11 > > Attachments: PIG2267.patch, PIG2267_1.patch > > > Following two works: > {code} > a = load 'data'; > a = load 'data' as (f1:int); > {code} > Following doesn't: > {code} > a = load 'data' as (int); > {code} > It will be nice to make names of column optional. -- 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