You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Koji Noguchi (JIRA)" <ji...@apache.org> on 2017/05/16 13:58:04 UTC

[jira] [Created] (PIG-5235) Typecast with as-clause fails for tuple/bag with an empty schema

Koji Noguchi created PIG-5235:
---------------------------------

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


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)