mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
'Compute Stats' queries gets scheduled on the smallest executor group set since these queries don't do any real work. However their child queries also gets scheduled on the smallest executor group. This may not be ideal for cases where the child query does NDVs and Counts on a big wide table. This patch let child queries to unset REQUEST_POOL query option if that option is set by frontend planner rather than client. With REQUEST_POOL unset, child query can select the executor group that best-fit its workload. Testing: - Add test in test_query_cpu_count_divisor_default Change-Id: I6dc559aa161a27a7bd5d3034788cc6241490d3b5 Reviewed-on: http://gerrit.cloudera.org:8080/19832 Reviewed-by: Kurt Deschler <kdeschle@cloudera.com> Reviewed-by: Wenzhe Zhou <wzhou@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
59 KiB
59 KiB