Alexander Behm created IMPALA-6626:

             Summary: Failure to assign dictionary predicates should not result 
in query failure
                 Key: IMPALA-6626
             Project: IMPALA
          Issue Type: Improvement
          Components: Frontend
    Affects Versions: Impala 2.11.0, Impala 2.10.0, Impala 2.9.0
            Reporter: Alexander Behm

Assigning dictionary predicates to Parquet scans may involve evaluation of 
expressions in the BE which could fail for various reasons. Such failures 
should lead to non-assignment of dictionary predicates but not to query failure.

See HdfsScanNode:
private void addDictionaryFilter(...) {
    try {
      if (analyzer.isTrueWithNullSlots(conjunct)) return;
    } catch (InternalException e) { <--- does not handle Exception which will 
cause query to fail
      // Expr evaluation failed in the backend. Skip this conjunct since we 
      // determine whether it is safe to apply it against a dictionary.
      LOG.warn("Skipping dictionary filter because backend evaluation failed: "
          + conjunct.toSql(), e);

This message was sent by Atlassian JIRA

Reply via email to