You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Thomas Tauber-Marshall (JIRA)" <ji...@apache.org> on 2017/05/09 14:30:04 UTC

[jira] [Created] (IMPALA-5294) Kudu INSERT partitioning fails with constants

Thomas Tauber-Marshall created IMPALA-5294:
----------------------------------------------

             Summary: Kudu INSERT partitioning fails with constants
                 Key: IMPALA-5294
                 URL: https://issues.apache.org/jira/browse/IMPALA-5294
             Project: IMPALA
          Issue Type: Bug
          Components: Frontend
    Affects Versions: Impala 2.9.0
            Reporter: Thomas Tauber-Marshall
            Assignee: Thomas Tauber-Marshall
            Priority: Critical


A recent change (IMPALA-3742) introduced a bug where INSERTs into Kudu table will fail with an IllegalStateException if they are inserting a constant value into a partition column and a non-constant value into another partition column.

The reason is that DistributedPlanner removed the constant exprs from the list of partition exprs before creating the KuduPartitionExpr, but the KuduPartitionExpr expects one expr for each partition column, and so a Precondition check is hit (unless all of the values inserted into partition cols are constant, then we fall back to an unpartitioned insert).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)