You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2017/02/11 06:14:42 UTC
[jira] [Resolved] (PIG-4953) Predicate push-down will not run
filters for single unary expressions
[ https://issues.apache.org/jira/browse/PIG-4953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Dai resolved PIG-4953.
-----------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
> Predicate push-down will not run filters for single unary expressions
> ---------------------------------------------------------------------
>
> Key: PIG-4953
> URL: https://issues.apache.org/jira/browse/PIG-4953
> Project: Pig
> Issue Type: Bug
> Components: impl
> Affects Versions: 0.15.0
> Reporter: Ryan Blue
> Assignee: Ryan Blue
> Fix For: 0.17.0
>
> Attachments: PIG-4953.1.patch, PIG-4953.2.patch, PIG-4953.3.patch
>
>
> While testing PIG-4940, I noticed that a "is not null" predicate was not pushed down, but equality predicates were. The problem is that the {{FilterExtractor#visit}} method ignores anything that isn't a {{BinaryExpression}}. Pushing down {{UnaryExpression}} filters works if the expression is linked in by a binary expression, like "b is not null and c == 'val'".
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)