Impala Public Jenkins has submitted this change and it was merged. Change subject: IMPALA-5602: Fix query optimization for kudu and datasource tables ......................................................................
IMPALA-5602: Fix query optimization for kudu and datasource tables Fix a bug where the following queries on kudu and datasource tables were incorrectly being optimized as a 'small query' and therefore running on a single node with a single scanner thread: (A) that have all their predicates pushed to the underlying storage layer and have a limit (B) table stats missing + Conditions in (A) Testing: Added frontend planner tests. Change-Id: I93822d67ebda41d5d0456095c429e3915a3f40c4 Reviewed-on: http://gerrit.cloudera.org:8080/7560 Reviewed-by: Matthew Jacobs <[email protected]> Tested-by: Impala Public Jenkins --- M fe/src/main/java/org/apache/impala/catalog/KuduTable.java M fe/src/main/java/org/apache/impala/planner/DataSourceScanNode.java M fe/src/main/java/org/apache/impala/planner/HBaseScanNode.java M fe/src/main/java/org/apache/impala/planner/KuduScanNode.java M fe/src/main/java/org/apache/impala/planner/ScanNode.java M fe/src/main/java/org/apache/impala/util/MaxRowsProcessedVisitor.java M fe/src/test/java/org/apache/impala/common/FrontendTestBase.java M fe/src/test/java/org/apache/impala/planner/PlannerTest.java M testdata/workloads/functional-planner/queries/PlannerTest/data-source-tables.test M testdata/workloads/functional-planner/queries/PlannerTest/kudu.test 10 files changed, 131 insertions(+), 40 deletions(-) Approvals: Impala Public Jenkins: Verified Matthew Jacobs: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/7560 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: I93822d67ebda41d5d0456095c429e3915a3f40c4 Gerrit-PatchSet: 12 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Bikramjeet Vig <[email protected]> Gerrit-Reviewer: Alex Behm <[email protected]> Gerrit-Reviewer: Bikramjeet Vig <[email protected]> Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Matthew Jacobs <[email protected]> Gerrit-Reviewer: Tim Armstrong <[email protected]>
