mirror of
https://github.com/apache/impala.git
synced 2026-01-01 00:00:20 -05:00
PlanNode includes a 'capAtLimit()' method that can be used in 'computeStats()' on PlanNodes to ensure they do not estimate their cardinality to be more than a pushed-down LIMIT clause. This patch ensures that 'capAtLimit()' is used in all of the relevant classes descending from PlanNode. Change-Id: Ic06dcb93bbb2510c0d40151302bd817ef340b825 Reviewed-on: http://gerrit.cloudera.org:8080/3127 Reviewed-by: Jim Apple <jbapple@cloudera.com> Tested-by: Internal Jenkins