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

2010-03-23 Thread Gaurav Jain (JIRA)

 [ 
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

2010-03-23 Thread Gaurav Jain (JIRA)

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



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

2010-03-23 Thread Yan Zhou (JIRA)

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