fix mysqltest

This commit is contained in:
ChangerR 2023-04-06 13:11:08 +00:00 committed by ob-robot
parent ef5dc84cec
commit 136400bb55

View File

@ -6479,11 +6479,11 @@ Query Plan
|0 |PX COORDINATOR | |2 |13 |
|1 | EXCHANGE OUT DISTR |:EX10001|2 |12 |
|2 | HASH UNION DISTINCT | |2 |12 |
|3 | PX PARTITION ITERATOR | |1 |9 |
|4 | TABLE SCAN |t2 |1 |9 |
|5 | EXCHANGE IN DISTR | |1 |3 |
|6 | EXCHANGE OUT DISTR (PKEY)|:EX10000|1 |3 |
|7 | TABLE SCAN |t1 |1 |2 |
|3 | EXCHANGE IN DISTR | |1 |3 |
|4 | EXCHANGE OUT DISTR (PKEY)|:EX10000|1 |3 |
|5 | TABLE SCAN |t1 |1 |2 |
|6 | PX PARTITION ITERATOR | |1 |9 |
|7 | TABLE SCAN |t2 |1 |9 |
=================================================================
Outputs & filters:
-------------------------------------
@ -6491,19 +6491,19 @@ Outputs & filters:
1 - output([INTERNAL_FUNCTION(UNION([1]))]), filter(nil), rowset=256
dop=1
2 - output([UNION([1])]), filter(nil), rowset=256
3 - output([t2.a]), filter(nil), rowset=256
affinitize, force partition granule
4 - output([t2.a]), filter(nil), rowset=256
access([t2.a]), partitions(p[0-4])
is_index_back=false, is_global_index=false,
range_key([t2.__pk_increment]), range(MIN ; MAX)always true
5 - output([t1.a]), filter(nil), rowset=256
6 - output([t1.a]), filter(nil), rowset=256
3 - output([t1.a]), filter(nil), rowset=256
4 - output([t1.a]), filter(nil), rowset=256
(#keys=1, [t1.a]), is_single, dop=1
7 - output([t1.a]), filter([t1.a = 1]), rowset=256
5 - output([t1.a]), filter([t1.a = 1]), rowset=256
access([t1.a]), partitions(p1)
is_index_back=false, is_global_index=false, filter_before_indexback[false],
range_key([t1.__pk_increment]), range(MIN ; MAX)always true
6 - output([t2.a]), filter(nil), rowset=256
affinitize, force partition granule
7 - output([t2.a]), filter(nil), rowset=256
access([t2.a]), partitions(p[0-4])
is_index_back=false, is_global_index=false,
range_key([t2.__pk_increment]), range(MIN ; MAX)always true
explain select a from t1 union distinct select a from t2 where a = 1;
Query Plan
=================================================================