Csaba Ringhofer has uploaded this change for review. ( http://gerrit.cloudera.org:8080/18744
Change subject: IMPALA-11443: Fix partitoned top-n with -1 input cardinality ...................................................................... IMPALA-11443: Fix partitoned top-n with -1 input cardinality Creating a plan with partitioned top-n node with -1 input cardinality led to having negative resource estimate and hitting a precondtition, returning error: "IllegalStateException: Mem estimate must be set" This change adds handling for unknown cardinality. Testing: - added a planner test Change-Id: I7e2dc7df397dc4684e6510a200f381a74c8dd984 --- M fe/src/main/java/org/apache/impala/planner/SortNode.java M fe/src/test/java/org/apache/impala/planner/PlannerTest.java M testdata/workloads/functional-planner/queries/PlannerTest/limit-pushdown-partitioned-top-n.test 3 files changed, 41 insertions(+), 2 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/44/18744/1 -- To view, visit http://gerrit.cloudera.org:8080/18744 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I7e2dc7df397dc4684e6510a200f381a74c8dd984 Gerrit-Change-Number: 18744 Gerrit-PatchSet: 1 Gerrit-Owner: Csaba Ringhofer <[email protected]>
