Qifan Chen has posted comments on this change. (
http://gerrit.cloudera.org:8080/18050 )
Change subject: [WIP] IMPALA-10992 Planner changes for estimate peak memory - v2
......................................................................
Patch Set 4:
Resolve replan issue #2:
Section DISTRIBUTEDPLAN of query:
insert into table functional.alltypessmall
partition (year, month)
select min(id), min(bool_col), min(tinyint_col), min(smallint_col),
min(int_col),
min(bigint_col), min(float_col), min(double_col), min(date_string_col),
min(string_col),
min(timestamp_col), year, month
from functional.alltypes
where year=2009 and month>10
group by year, month
Actual does not match expected result:
WRITE TO HDFS [functional.alltypessmall, OVERWRITE=false,
PARTITION-KEYS=(`year`,`month`)]
| partitions=24
|
05:SORT
^^^^^^^
| order by: `year` ASC NULLS LAST, `month` ASC NULLS LAST
| row-size=80B cardinality=24
|
04:EXCHANGE [HASH(`year`,`month`)] <==== Extra Exchange
|
--
To view, visit http://gerrit.cloudera.org:8080/18050
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: If8a31a574b364f39b049a4bae33a8b98c5fc20bd
Gerrit-Change-Number: 18050
Gerrit-PatchSet: 4
Gerrit-Owner: Qifan Chen <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Kurt Deschler <[email protected]>
Gerrit-Reviewer: Qifan Chen <[email protected]>
Gerrit-Comment-Date: Thu, 02 Dec 2021 01:24:02 +0000
Gerrit-HasComments: No