Csaba Ringhofer has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/17596


Change subject: IMPALA-10742: Fix DCHECK in CreateColIdx2EqConjunctMap
......................................................................

IMPALA-10742: Fix DCHECK in CreateColIdx2EqConjunctMap

The following query was hitting a DCHECK because the right side was not
a literal (due to disabling expression rewrite).
SET enable_expr_rewrites=0;
select count(*) from alltypesagg where timestamp_col
between cast('2010-01-01 00:00:00' as timestamp)
and cast('2010-01-01 01:40:00' as timestamp);

The fix is to ignore these predicates instead of DCHECKing.

Testing:
- Changed TestExprs to use Parquet instead of Text in core tests.
  Parquet seems more interesting as it also gives coverage for
  predicate pushdown logic. The coverage of exhaustive tests is
  not changed.
- Ran TestExprs.

Change-Id: I1ef97d829e6c3792aade9c61c4aee0d91cd0064b
---
M be/src/exec/parquet/hdfs-parquet-scanner.cc
M tests/query_test/test_exprs.py
2 files changed, 7 insertions(+), 5 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/96/17596/2
--
To view, visit http://gerrit.cloudera.org:8080/17596
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1ef97d829e6c3792aade9c61c4aee0d91cd0064b
Gerrit-Change-Number: 17596
Gerrit-PatchSet: 2
Gerrit-Owner: Csaba Ringhofer <[email protected]>

Reply via email to