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/25 15:14:04 UTC
[jira] [Created] (PIG-5243) describe with typecast on as-clause
shows the types before the typecasting
Koji Noguchi created PIG-5243:
---------------------------------
Summary: describe with typecast on as-clause shows the types before the typecasting
Key: PIG-5243
URL: https://issues.apache.org/jira/browse/PIG-5243
Project: Pig
Issue Type: Bug
Reporter: Koji Noguchi
Priority: Minor
For code like
{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}
{{describe b}} shows
{noformat}
b: {mytuple2: (name: bytearray,age: bytearray)}
{noformat}
Execution wise, it is fine since there is an extra foreach typecasting the above relation.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)