Files
impala/tests/custom_cluster/test_executor_groups.py
Riza Suminto 1830abcc7d IMPALA-12056: Let child queries unset REQUEST_POOL if auto-scaling
'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>
2023-05-04 15:54:39 +00:00

59 KiB