Xiaoqing Gao has uploaded this change for review. ( http://gerrit.cloudera.org:8080/19030
Change subject: IMPALA-10891: Avoid hash exchanges in more situations ...................................................................... IMPALA-10891: Avoid hash exchanges in more situations If the partition keys of parent fragment and child fragment have an intersecion and the intersection keys have a high cardinality, We can think parent fragment and child fragment have compatible partitions. The high cardinality factor can be set by query option. Testing: - Added planner tests in 'PlannerTest' Change-Id: Ie627d07b729f1f584f589cd0251dfe2bb64a417f --- M be/src/service/query-options.cc M be/src/service/query-options.h M common/thrift/ImpalaService.thrift M common/thrift/Query.thrift M fe/src/main/java/org/apache/impala/analysis/AggregateInfo.java M fe/src/main/java/org/apache/impala/analysis/Expr.java M fe/src/main/java/org/apache/impala/analysis/SlotRef.java M fe/src/main/java/org/apache/impala/planner/DataPartition.java M fe/src/test/java/org/apache/impala/planner/PlannerTest.java A testdata/workloads/functional-planner/queries/PlannerTest/optimize_shuffle.test 10 files changed, 133 insertions(+), 3 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/30/19030/1 -- To view, visit http://gerrit.cloudera.org:8080/19030 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ie627d07b729f1f584f589cd0251dfe2bb64a417f Gerrit-Change-Number: 19030 Gerrit-PatchSet: 1 Gerrit-Owner: Xiaoqing Gao <[email protected]>
