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