You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Dan Burkert (JIRA)" <ji...@apache.org> on 2016/09/26 17:32:20 UTC

[jira] [Created] (KUDU-1652) Partition pruning / scan optimization fails with IS NOT NULL predicate on PK column

Dan Burkert created KUDU-1652:
---------------------------------

             Summary: 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
    Affects Versions: 1.0.0
            Reporter: Dan Burkert
            Assignee: Dan Burkert
            Priority: Blocker


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.



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