[ 
https://issues.apache.org/jira/browse/PIG-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12984315#action_12984315
 ] 

Alan Gates commented on PIG-1717:
---------------------------------

I saw several unit test failures:

    [junit] Test org.apache.pig.parser.TestLogicalPlanGenerator FAILED
    [junit] Running org.apache.pig.parser.TestQueryLexer

    [junit] Tests run: 5, Failures: 0, Errors: 4, Time elapsed: 0.95 sec
    [junit] Test org.apache.pig.test.TestNewPlanFilterRule FAILED

    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.241 sec
    [junit] Test org.apache.pig.test.TestNewPlanLogicalOptimizer FAILED

Results of test-patch

     [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 7 new or 
modified tests.
     [exec]
     [exec]     -1 javadoc.  The javadoc tool appears to have generated 1 
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 generated 485 release 
audit warnings (more than the trunk's current 482 warnings).
     [exec]
     [exec]
     [exec]

I'll attach the test logs and the results from the test-patch run.

> pig needs to call setPartitionFilter if schema is null but getPartitionKeys 
> is not
> ----------------------------------------------------------------------------------
>
>                 Key: PIG-1717
>                 URL: https://issues.apache.org/jira/browse/PIG-1717
>             Project: Pig
>          Issue Type: Improvement
>          Components: impl
>    Affects Versions: 0.9.0
>            Reporter: Gerrit Jansen van Vuuren
>            Assignee: Gerrit Jansen van Vuuren
>            Priority: Minor
>             Fix For: 0.9.0
>
>         Attachments: PIG-1717.patch, PIG-1717.v1.patch
>
>
> I'm writing a loader that works with hive style partitioning e.g. 
> /logs/type1/daydate=2010-11-01
> The loader does not know the schema upfront and this is something that the 
> user adds in the script using the AS clause.
> The problem is that this user defined schema is not available to the loader, 
> so the loader cannot return any schema, the Loader does know what the 
> partition keys are and pig needs in some way to know about these partition 
> keys. 
> Currently if the schema is null pig never calls the 
> LoadMetaData:getPartitionKeys method or the setPartitionFilter method.

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

Reply via email to