Hello Aman Sinha, Daniel Becker, Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/18744
to look at the new patch set (#2).
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/2
--
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: newpatchset
Gerrit-Change-Id: I7e2dc7df397dc4684e6510a200f381a74c8dd984
Gerrit-Change-Number: 18744
Gerrit-PatchSet: 2
Gerrit-Owner: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Aman Sinha <[email protected]>
Gerrit-Reviewer: Daniel Becker <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>