[
https://issues.apache.org/jira/browse/PIG-5235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Koji Noguchi resolved PIG-5235.
-------------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Fix Version/s: 0.17.0
Thanks for the review Daniel, Nandor !!!
For the "describe" issue, created PIG-5243 to follow up.
> Typecast with as-clause fails for tuple/bag with an empty schema
> ----------------------------------------------------------------
>
> Key: PIG-5235
> URL: https://issues.apache.org/jira/browse/PIG-5235
> Project: Pig
> Issue Type: Bug
> Reporter: Koji Noguchi
> Assignee: Koji Noguchi
> Fix For: 0.17.0
>
> Attachments: pig-5235-v01.patch
>
>
> Following script fails with trunk(0.17).
> {code}
> a = load 'test.txt' as (mytuple:tuple (), gpa:float);
> b = foreach a generate mytuple as (mytuple2:(name:int, age:double));
> store b into '/tmp/deleteme';
> {code}
> 2017-05-16 09:52:31,280 \[main] ERROR org.apache.pig.tools.grunt.Grunt -
> ERROR 2999: Unexpected internal error. null
> (This is a continuation from the as-clause fix at PIG-2315 and follow up jira
> PIG-4933)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)