Impala Public Jenkins has submitted this change and it was merged. ( 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 Reviewed-on: http://gerrit.cloudera.org:8080/18744 Reviewed-by: Impala Public Jenkins <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- 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(-) Approvals: Impala Public Jenkins: Looks good to me, approved; Verified -- 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: merged Gerrit-Change-Id: I7e2dc7df397dc4684e6510a200f381a74c8dd984 Gerrit-Change-Number: 18744 Gerrit-PatchSet: 5 Gerrit-Owner: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Aman Sinha <[email protected]> Gerrit-Reviewer: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Daniel Becker <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
