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

Yan Zhou updated PIG-1647:
--------------------------

    Attachment: PIG-1647.patch

passes test-core.

test-patch results:

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


> Logical simplifier throws a NPE
> -------------------------------
>
>                 Key: PIG-1647
>                 URL: https://issues.apache.org/jira/browse/PIG-1647
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Yan Zhou
>            Assignee: Yan Zhou
>             Fix For: 0.8.0
>
>         Attachments: PIG-1647.patch, PIG-1647.patch
>
>
> A query like:
> A = load 'd.txt' as (a:chararray, b:long, c:map[], d:chararray, e:chararray);
> B = filter A by a == 'v' and b == 117L and c#'p1' == 'h' and c#'p2' == 'to' 
> and ((d is not null and d != '') or (e is not null and e != ''));
> will cause the logical expression simplifier to throw a NPE.

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