Files
impala/testdata/workloads/functional-query/queries/QueryTest/mt-dop-auto-fallback.test
Tim Armstrong ab7e209d1b IMPALA-9099: allow mt_dop for joins without feature flag
This allows running *any* read-only query with mt_dop > 0.
Before this patch, no joins were allowed with mt_dop > 0.

Previous patches, particularly IMPALA-9156, added significantly
more code coverage for multithreading+joins. It should be safe to
allow enabling on a query-by-query basis. Many improvements are
still planned - see IMPALA-3902. So behaviour and performance
characteristics of mt_dop > 0 with more complex plans and joins
will continue to change.

Testing:
Updated the mt_dop validation tests and remove redundant planner test
that doesn't provide much additional coverage of the validation
support.

Ran exhaustive tests.

Change-Id: I9c6566abb239db0e775f2beaa25a62c36313cd6f
Reviewed-on: http://gerrit.cloudera.org:8080/15545
Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
2020-03-31 20:45:59 +00:00

32 lines
1023 B
Plaintext

====
---- QUERY
# IMPALA-9099: mt_dop is now allowed for joins, so we should run with mt_dop.
select min(l_orderkey), min(p_name)
from tpch.lineitem join tpch.part on l_partkey = p_partkey;
---- RESULTS
1,'almond antique blue royal burnished'
---- TYPES
BIGINT,STRING
---- RUNTIME_PROFILE
row_regex:.*Query Options \(set by configuration and planner\):.*MT_DOP=4.*
====
---- QUERY
# IMPALA-9099: mt_dop is now allowed for joins, so we should run with mt_dop.
select min(l_orderkey), min(p_name)
from tpch_kudu.lineitem join tpch_kudu.part on l_partkey = p_partkey;
---- RESULTS
1,'almond antique blue royal burnished'
---- TYPES
BIGINT,STRING
---- RUNTIME_PROFILE
row_regex:.*Query Options \(set by configuration and planner\):.*MT_DOP=4.*
====
---- QUERY
create table tmp as
select * from functional.alltypes
---- RUNTIME_PROFILE
row_regex:.*Query Options \(set by configuration and planner\):.*MT_DOP=0.*
row_regex:.*All 3 execution backends \(3 fragment instances\) started.*
row_regex:.*NumScannerThreadsStarted.*
====