hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gaurav Jain (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-1318) [Zebra] Invalid type for source_table field when using order-preserving Sorted Table Union
Date Tue, 23 Mar 2010 18:50:27 GMT

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

Gaurav Jain updated PIG-1318:
-----------------------------

    Status: Patch Available  (was: Open)


fix for the jira

> [Zebra] Invalid type for source_table field when using order-preserving Sorted Table
Union
> ------------------------------------------------------------------------------------------
>
>                 Key: PIG-1318
>                 URL: https://issues.apache.org/jira/browse/PIG-1318
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.7.0
>            Reporter: Gaurav Jain
>             Fix For: 0.7.0
>
>         Attachments: PIG-1318.patch
>
>
> When we are trying to use order-preserving sorted union:
> ....
> We got the following schema, where the type of 'source_table' is (null) with no column
name:
> {id: chararray,name: chararray,context: chararray,writer: chararray,rev: chararray,schema:
chararray,(null)}
> I tried to project the 'source_table' field but failed:
> B = FOREACH A GENERATE id, $6; 
> DUMP B;
> But then we got exception org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1066:
Unable to open iterator for alias B.
> Can you guys please let us know how to access this column? Or is the symptom described
above is a bug?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message