Fix sharable exprs rel_ids not correct bug

This commit is contained in:
my0
2022-03-16 14:57:48 +08:00
committed by LINxiansheng
parent 3233a7d49a
commit a4c7d7dc9f
14 changed files with 163 additions and 103 deletions

View File

@ -14869,6 +14869,7 @@ SQL: select * from t1 right join t3 on (t1.c1 = t3.c1) where t3.c1 = (select t2.
"CNT_IS_EXPR"
],
"rel_id": [
1
],
"expr_levels": [
0
@ -16316,6 +16317,7 @@ SQL: select * from t3 left join t1 on (t1.c1 = t3.c1) where t3.c1 = (select t2.c
"CNT_IS_EXPR"
],
"rel_id": [
2
],
"expr_levels": [
0
@ -18279,6 +18281,7 @@ SQL: select * from t3 left join (t1 inner join t4 on (t1.c2 = t4.c1)) on (t1.c2
"CNT_IS_EXPR"
],
"rel_id": [
2
],
"expr_levels": [
0

View File

@ -86426,6 +86426,7 @@ SQL: SELECT MIN(1) FROM agg_t2 ORDER BY (SELECT AVG(c2) FROM agg_t1);
"CNT_AGG"
],
"rel_id": [
1
],
"expr_levels": [
0
@ -96957,6 +96958,7 @@ SQL: select * from (select c1 as col from t1) as L where col = (select max(c1) f
"IS_RANGE_COND"
],
"rel_id": [
1
],
"expr_levels": [
0