Alex Behm has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/6033

Change subject: IMPALA-4854: Fix incremental stats with complex types.
......................................................................

IMPALA-4854: Fix incremental stats with complex types.

The bug: Compute incremental stats used to always do a
full stats recomputation for tables with complex types.
The logic for detecting schema changes (e.g. an added
column) did not take into consideration that columns
with complex types are ignored in the stats computation,
and should therefore not be recognized as a new column
that does not yet have stats.

Testing:
- Added a new regression test
- Locally ran test_compute_stats.py and the FE tests

Change-Id: I6e0335048d688ee25ff55c6628d0f6f8ecc1dd8a
---
M fe/src/main/java/org/apache/impala/analysis/ComputeStatsStmt.java
M 
testdata/workloads/functional-query/queries/QueryTest/compute-stats-incremental.test
2 files changed, 47 insertions(+), 9 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/33/6033/1
-- 
To view, visit http://gerrit.cloudera.org:8080/6033
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6e0335048d688ee25ff55c6628d0f6f8ecc1dd8a
Gerrit-PatchSet: 1
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Alex Behm <alex.b...@cloudera.com>

Reply via email to