[
https://issues.apache.org/jira/browse/PIG-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Santhosh Srinivasan updated PIG-421:
------------------------------------
Attachment: PIG-421.patch
The attached patch (PIG-421.patch) does the following:
1. Moved all the schema computation that existed within the type checker to the appropriate operators.
2. The getType() method for all expressions will now call getFieldSchema() and return the type appropriately
3. Renamed the resetSchema methods to unsetSchema which was an existing method in LogicalOperator
Unit tests that still fail are:
[junit] Running org.apache.pig.test.TestMRCompiler
[junit] Tests run: 16, Failures: 1, Errors: 0, Time elapsed: 0.34 sec
[junit] Test org.apache.pig.test.TestMRCompiler FAILED
[junit] Running org.apache.pig.test.TestSplitStore
[junit] Tests run: 9, Failures: 0, Errors: 2, Time elapsed: 216.145 sec
[junit] Test org.apache.pig.test.TestSplitStore FAILED
TestSplitStore has two test cases failing test6 and test7. These tests fail due to the issue reported in PIG-407.
error with complex nested plan
------------------------------
Key: PIG-421
URL:
https://issues.apache.org/jira/browse/PIG-421Project: Pig
Issue Type: Bug
Affects Versions: types_branch
Reporter: Olga Natkovich
Assignee: Santhosh Srinivasan
Fix For: types_branch
Attachments: PIG-421.patch
Even after applying patch for PIG-398, the following query still fails:
a = load 'studenttab10k' as (name, age, gpa);
b = filter a by age < 20;
c = group b by age;
d = foreach c {
cf = filter b by gpa < 3.0;
cp = cf.gpa;
cd = distinct cp;
co = order cd by $0;
generate group, flatten(co);
}
store d into 'output';
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.