impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Behm (Code Review)" <ger...@cloudera.org>
Subject [Impala-ASF-CR] IMPALA-5036: Parquet count star optimization
Date Fri, 30 Jun 2017 20:50:06 GMT
Alex Behm has posted comments on this change.

Change subject: IMPALA-5036: Parquet count star optimization
......................................................................


Patch Set 7:

(6 comments)

http://gerrit.cloudera.org:8080/#/c/6812/7/fe/src/main/java/org/apache/impala/planner/HdfsScanNode.java
File fe/src/main/java/org/apache/impala/planner/HdfsScanNode.java:

Line 277:   private boolean checkParquetCountStarOptimization(Analyzer analyzer,
canApplyParquetCountStarOptimization()


Line 281:     if (!aggInfo_.hasCountStarOnly()) return false;
combine with previous check on agg info


Line 282:     if (fileFormats.size() != 1) return false;
move the PARQUET check here as well


http://gerrit.cloudera.org:8080/#/c/6812/7/fe/src/main/java/org/apache/impala/planner/SingleNodePlanner.java
File fe/src/main/java/org/apache/impala/planner/SingleNodePlanner.java:

Line 1193:    * If the state of 'hdfsTblRef' and 'aggInfo' permits this, the slots may be
produced
I think we can phrase this more generically now, something like:

The given 'aggInfo' is used for detecting and applying optimizations that span both the scan
and aggregation.


Line 1260:    * 'aggInfo' is used for determining whether to try to produce the slots with
metadata
I think we can phrase this more generically now, something like:

The given 'aggInfo' is used for detecting and applying optimizations that span both the scan
and aggregation. Only applicable to HDFS table refs.


Line 1503:    * 'aggInfo' is used for determining whether to try to produce the slots with
metadata
I think we can phrase this more generically now, something like:

The given 'aggInfo' is used for detecting and applying optimizations that span both the scan
and aggregation. Only applicable to HDFS table refs.


-- 
To view, visit http://gerrit.cloudera.org:8080/6812
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I536b85c014821296aed68a0c68faadae96005e62
Gerrit-PatchSet: 7
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Taras Bobrovytsky <tbobrovytsky@cloudera.com>
Gerrit-Reviewer: Alex Behm <alex.behm@cloudera.com>
Gerrit-Reviewer: Dan Hecht <dhecht@cloudera.com>
Gerrit-Reviewer: Lars Volker <lv@cloudera.com>
Gerrit-Reviewer: Marcel Kornacker <marcel@cloudera.com>
Gerrit-Reviewer: Mostafa Mokhtar <mmokhtar@cloudera.com>
Gerrit-Reviewer: Taras Bobrovytsky <tbobrovytsky@cloudera.com>
Gerrit-Reviewer: Zach Amsden <zamsden@cloudera.com>
Gerrit-HasComments: Yes

Mime
View raw message