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 <[email protected]> Gerrit-Reviewer: Alex Behm <[email protected]> Gerrit-Reviewer: Dan Hecht <[email protected]> Gerrit-Reviewer: Lars Volker <[email protected]> Gerrit-Reviewer: Marcel Kornacker <[email protected]> Gerrit-Reviewer: Mostafa Mokhtar <[email protected]> Gerrit-Reviewer: Taras Bobrovytsky <[email protected]> Gerrit-Reviewer: Zach Amsden <[email protected]> Gerrit-HasComments: Yes
