patch bug fix to open source branch

This commit is contained in:
obdev
2021-07-19 22:45:15 +08:00
committed by wangzelin.wzl
parent e03cb03357
commit c949c5e01f
13 changed files with 252 additions and 101 deletions

View File

@ -2221,25 +2221,25 @@ Outputs & filters:
SQL: select * from t1 left join t2 t on 1=1 where false;
=================================================================
|ID|OPERATOR |NAME |EST. ROWS |COST |
-----------------------------------------------------------------
|0 |NESTED-LOOP OUTER JOIN | |150000000000|126539013545|
|1 | PX COORDINATOR | |500000 |356592 |
|2 | EXCHANGE OUT DISTR |:EX10000|500000 |309262 |
|3 | PX PARTITION ITERATOR | |500000 |309262 |
|4 | TABLE SCAN |t1 |500000 |309262 |
|5 | MATERIAL | |300000 |608147 |
|6 | PX COORDINATOR | |300000 |277391 |
|7 | EXCHANGE OUT DISTR |:EX20000|300000 |192197 |
|8 | PX PARTITION ITERATOR| |300000 |192197 |
|9 | TABLE SCAN |t |300000 |192197 |
=================================================================
========================================================================
|ID|OPERATOR |NAME |EST. ROWS |COST |
------------------------------------------------------------------------
|0 |NESTED-LOOP OUTER JOIN CARTESIAN| |150000000000|113980406167|
|1 | PX COORDINATOR | |500000 |356592 |
|2 | EXCHANGE OUT DISTR |:EX10000|500000 |309262 |
|3 | PX PARTITION ITERATOR | |500000 |309262 |
|4 | TABLE SCAN |t1 |500000 |309262 |
|5 | MATERIAL | |300000 |633265 |
|6 | PX COORDINATOR | |300000 |302508 |
|7 | EXCHANGE OUT DISTR |:EX20000|300000 |217314 |
|8 | PX PARTITION ITERATOR | |300000 |217314 |
|9 | TABLE SCAN |t |300000 |217314 |
========================================================================
Outputs & filters:
-------------------------------------
0 - output([t1.c1], [t1.c2], [t.c1], [t.c2], [t.c3]), filter(nil), startup_filter([0]),
conds([1]), nl_params_(nil), batch_join=false
conds(nil), nl_params_(nil), batch_join=false
1 - output([t1.c1], [t1.c2]), filter(nil)
2 - output([t1.c1], [t1.c2]), filter(nil), dop=1
3 - output([t1.c1], [t1.c2]), filter(nil),
@ -2253,7 +2253,7 @@ Outputs & filters:
7 - output([t.c1], [t.c2], [t.c3]), filter(nil), dop=1
8 - output([t.c1], [t.c2], [t.c3]), filter(nil),
force partition granule, asc.
9 - output([t.c1], [t.c2], [t.c3]), filter(nil), startup_filter([0]),
9 - output([t.c1], [t.c2], [t.c3]), filter(nil), startup_filter([1], [0]),
access([t.c1], [t.c2], [t.c3]), partitions(p[0-2]),
is_index_back=false,
range_key([t.c1]), range(MIN ; MAX)always true