You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Gaurav Jain (JIRA)" <ji...@apache.org> on 2010/03/22 21:29:27 UTC

[jira] Created: (PIG-1318) [Zebra] Invalid type for source_table field when using order-preserving Sorted Table Union

[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


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.


[jira] Commented: (PIG-1318) [Zebra] Invalid type for source_table field when using order-preserving Sorted Table Union

Posted by "Yan Zhou (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12848849#action_12848849 ] 

Yan Zhou commented on PIG-1318:
-------------------------------

+1

> [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.


[jira] Closed: (PIG-1318) [Zebra] Invalid type for source_table field when using order-preserving Sorted Table Union

Posted by "Daniel Dai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Dai closed PIG-1318.
---------------------------


> [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.


[jira] Updated: (PIG-1318) [Zebra] Invalid type for source_table field when using order-preserving Sorted Table Union

Posted by "Yan Zhou (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yan Zhou updated PIG-1318:
--------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

My internal Hudson results are as follows:

     [exec] +1 overall.
     [exec]
     [exec]     +1 @author.  The patch does not contain any @author tags.
     [exec]
     [exec]     +1 tests included.  The patch appears to include 3 new or modified tests.
     [exec]
     [exec]     +1 javadoc.  The javadoc tool did not generate any warning messages.
     [exec]
     [exec]     +1 javac.  The applied patch does not increase the total number of javac compiler warnings.
     [exec]
     [exec]     +1 findbugs.  The patch does not introduce any new Findbugs warnings.
     [exec]
     [exec]     +1 release audit.  The applied patch does not increase the total number of release audit warnings.


Committed to the trunk.

> [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.


[jira] Commented: (PIG-1318) [Zebra] Invalid type for source_table field when using order-preserving Sorted Table Union

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12848966#action_12848966 ] 

Hadoop QA commented on PIG-1318:
--------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12439599/PIG-1318.patch
  against trunk revision 926404.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h8.grid.sp2.yahoo.net/265/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h8.grid.sp2.yahoo.net/265/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h8.grid.sp2.yahoo.net/265/console

This message is automatically generated.

> [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.


[jira] Updated: (PIG-1318) [Zebra] Invalid type for source_table field when using order-preserving Sorted Table Union

Posted by "Gaurav Jain (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: PIG-1318.patch

> [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.


[jira] Updated: (PIG-1318) [Zebra] Invalid type for source_table field when using order-preserving Sorted Table Union

Posted by "Gaurav Jain (JIRA)" <ji...@apache.org>.
     [ 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.