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

Dan Burkert updated KUDU-1652:
------------------------------
    Description: Both the Java client and C++ client/server currently have a 
bug where attempting a scan with an {{IS NOT NULL}} predicate on a primary key 
column can throw an exception (Java), or crash the C++ client or server.  This 
is a rare situation currently since {{IS NOT NULL}} is not publicly accessible, 
so it has to come from a simplified predicate like {{my_int8_column <= 127}}.  
The fix is straightforward: stop encoding the lower/upper bound keys when an 
{{IS NOT NULL}} predicate is encountered.  (was: Both the Java client and C++ 
client/server currently have a bug where attempting a scan with an {{IS NOT 
NULL}} predicate on a primary key column can through an exception (Java), or 
crash the C++ client or server.  This is a rare situation currently since {{IS 
NOT NULL}} is not publicly accessible, so it has to come from a simplified 
predicate like {{my_int8_column <= 127}}.  The fix is straightforward: stop 
encoding the lower/upper bound keys when an {{IS NOT NULL}} predicate is 
encountered.)

> Partition pruning / scan optimization fails with IS NOT NULL predicate on PK 
> column
> -----------------------------------------------------------------------------------
>
>                 Key: KUDU-1652
>                 URL: https://issues.apache.org/jira/browse/KUDU-1652
>             Project: Kudu
>          Issue Type: Sub-task
>          Components: client, tablet
>    Affects Versions: 1.0.0
>            Reporter: Dan Burkert
>            Assignee: Dan Burkert
>            Priority: Blocker
>             Fix For: 1.0.0, 1.0.1
>
>
> Both the Java client and C++ client/server currently have a bug where 
> attempting a scan with an {{IS NOT NULL}} predicate on a primary key column 
> can throw an exception (Java), or crash the C++ client or server.  This is a 
> rare situation currently since {{IS NOT NULL}} is not publicly accessible, so 
> it has to come from a simplified predicate like {{my_int8_column <= 127}}.  
> The fix is straightforward: stop encoding the lower/upper bound keys when an 
> {{IS NOT NULL}} predicate is encountered.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to