Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-6635

IllegalStateException when applying an "in" predicate on a Kudu DECIMAL col

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Impala 2.12.0
    • Fix Version/s: Impala 2.12.0
    • Component/s: None
    • Labels:
      None
    • Epic Color:
      ghx-label-1

      Description

      Repro:

      > create table kudu_test (col0 decimal(9, 2) primary key) stored as kudu;
      > select * from kudu_test where col0 in (0, 1);
      ERROR: ImpalaRuntimeException: Unable to initialize the Kudu scan node
      CAUSED BY: IllegalStateException: Unsupported Kudu type considered for predicate: DECIMAL(9,2)
      

      The fix is to add DECIMAL to the switch in KuduScanNode::getKuduInListValue()

        Attachments

          Activity

            People

            • Assignee:
              granthenke Grant Henke
              Reporter:
              twmarshall Thomas Tauber-Marshall
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: