mirror of
https://github.com/apache/impala.git
synced 2026-02-02 15:00:38 -05:00
When the Partition-by and Order-by expressions of an analytic are all constants, it should be evaluated in a single unpartitioned fragment (same as analytics that have no Partition-by/Order-by exprs). Currently, it's placed within the same fragment with the child node, which causes it to be computed locally and get incorrect results when the fragment is partitioned. Tests: - Added planner tests - Added e2e tests Change-Id: Ibc88a410dab984ff37e27dc635bee5f289003a2a Reviewed-on: http://gerrit.cloudera.org:8080/17023 Reviewed-by: Aman Sinha <amsinha@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>