pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Coveney (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (PIG-2366) Utils.getSchemaFromString should give you reasonable names for fields if they aren't specified
Date Mon, 19 Dec 2011 22:23:30 GMT

     [ https://issues.apache.org/jira/browse/PIG-2366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Coveney resolved PIG-2366.
-----------------------------------

    Resolution: Duplicate

This is fixed by https://issues.apache.org/jira/browse/PIG-2267
                
> Utils.getSchemaFromString should give you reasonable names for fields if they aren't
specified
> ----------------------------------------------------------------------------------------------
>
>                 Key: PIG-2366
>                 URL: https://issues.apache.org/jira/browse/PIG-2366
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.1, 0.9.1, 0.10, 0.11
>            Reporter: Jonathan Coveney
>             Fix For: 0.11
>
>
> Currently, Utils.getSchemaFromString will die if you give it something like "double."
Ideally, it should give some reasonable default. For example, if given
> {code}
> tuple(int,int,float)
> {code}
> you'd get a schema that is equivalent to
> {code}
> t1:tuple(x1:int, x2:int, x3:float)
> {code}
> This would be convenient for the growing list of things which use this helper function
to allow more convenient Schema specification (scripting language udfs, OutputSchema annotations)

--
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