@@ -7894,15 +7894,15 @@ select * from t6 where d in (select f1() from t2 where s="c") {
7894
7894
"steps": [
7895
7895
{
7896
7896
"transformation": "equality_propagation",
7897
- "resulting_condition": "(1 and multiple equal('c', `t2 `.`s`) and multiple equal(`f1`() , `t6 `.`d `))"
7897
+ "resulting_condition": "(1 and (`t6 `.`d` = `f1`()) and multiple equal('c' , `t2 `.`s `))"
7898
7898
},
7899
7899
{
7900
7900
"transformation": "constant_propagation",
7901
- "resulting_condition": "(1 and multiple equal('c', `t2 `.`s`) and multiple equal(`f1`() , `t6 `.`d `))"
7901
+ "resulting_condition": "(1 and (`t6 `.`d` = `f1`()) and multiple equal('c' , `t2 `.`s `))"
7902
7902
},
7903
7903
{
7904
7904
"transformation": "trivial_condition_removal",
7905
- "resulting_condition": "(multiple equal('c', `t2 `.`s`) and multiple equal(`f1`() , `t6 `.`d `))"
7905
+ "resulting_condition": "((`t6 `.`d` = `f1`()) and multiple equal('c' , `t2 `.`s `))"
7906
7906
}
7907
7907
] /* steps */
7908
7908
} /* condition_processing */
@@ -8030,7 +8030,7 @@ select * from t6 where d in (select f1() from t2 where s="c") {
8030
8030
},
8031
8031
{
8032
8032
"attaching_conditions_to_tables": {
8033
- "original_condition": "((`t6 `.`d ` = `f1`()) and (`t2 `.`s ` = 'c' ))",
8033
+ "original_condition": "((`t2 `.`s ` = 'c') and (`t6 `.`d ` = `f1`() ))",
8034
8034
"attached_conditions_computation": [
8035
8035
] /* attached_conditions_computation */,
8036
8036
"attached_conditions_summary": [
@@ -8757,15 +8757,15 @@ select d into res from t6 where d in (select f1() from t2 where s=arg) {
8757
8757
"steps": [
8758
8758
{
8759
8759
"transformation": "equality_propagation",
8760
- "resulting_condition": "(1 and multiple equal(arg@0, `t2 `.`s`) and multiple equal(`f1`() , `t6 `.`d `))"
8760
+ "resulting_condition": "(1 and (`t6 `.`d` = `f1`()) and multiple equal(arg@0 , `t2 `.`s `))"
8761
8761
},
8762
8762
{
8763
8763
"transformation": "constant_propagation",
8764
- "resulting_condition": "(1 and multiple equal(arg@0, `t2 `.`s`) and multiple equal(`f1`() , `t6 `.`d `))"
8764
+ "resulting_condition": "(1 and (`t6 `.`d` = `f1`()) and multiple equal(arg@0 , `t2 `.`s `))"
8765
8765
},
8766
8766
{
8767
8767
"transformation": "trivial_condition_removal",
8768
- "resulting_condition": "(multiple equal(arg@0, `t2 `.`s`) and multiple equal(`f1`() , `t6 `.`d `))"
8768
+ "resulting_condition": "((`t6 `.`d` = `f1`()) and multiple equal(arg@0 , `t2 `.`s `))"
8769
8769
}
8770
8770
] /* steps */
8771
8771
} /* condition_processing */
@@ -8893,7 +8893,7 @@ select d into res from t6 where d in (select f1() from t2 where s=arg) {
8893
8893
},
8894
8894
{
8895
8895
"attaching_conditions_to_tables": {
8896
- "original_condition": "((`t6 `.`d ` = `f1`()) and (`t2 `.`s ` = arg@0 ))",
8896
+ "original_condition": "((`t2 `.`s ` = arg@0) and (`t6 `.`d ` = `f1`() ))",
8897
8897
"attached_conditions_computation": [
8898
8898
] /* attached_conditions_computation */,
8899
8899
"attached_conditions_summary": [
@@ -10571,15 +10571,15 @@ select d into res from t6 where d in (select f1() from t2 where s=arg) {
10571
10571
"steps": [
10572
10572
{
10573
10573
"transformation": "equality_propagation",
10574
- "resulting_condition": "(1 and multiple equal(arg@0, `t2 `.`s`) and multiple equal(`f1`() , `t6 `.`d `))"
10574
+ "resulting_condition": "(1 and (`t6 `.`d` = `f1`()) and multiple equal(arg@0 , `t2 `.`s `))"
10575
10575
},
10576
10576
{
10577
10577
"transformation": "constant_propagation",
10578
- "resulting_condition": "(1 and multiple equal(arg@0, `t2 `.`s`) and multiple equal(`f1`() , `t6 `.`d `))"
10578
+ "resulting_condition": "(1 and (`t6 `.`d` = `f1`()) and multiple equal(arg@0 , `t2 `.`s `))"
10579
10579
},
10580
10580
{
10581
10581
"transformation": "trivial_condition_removal",
10582
- "resulting_condition": "(multiple equal(arg@0, `t2 `.`s`) and multiple equal(`f1`() , `t6 `.`d `))"
10582
+ "resulting_condition": "((`t6 `.`d` = `f1`()) and multiple equal(arg@0 , `t2 `.`s `))"
10583
10583
}
10584
10584
] /* steps */
10585
10585
} /* condition_processing */
@@ -10781,7 +10781,7 @@ select d into res from t6 where d in (select f1() from t2 where s=arg) {
10781
10781
},
10782
10782
{
10783
10783
"attaching_conditions_to_tables": {
10784
- "original_condition": "((`t6 `.`d ` = `f1`()) and (`t2 `.`s ` = arg@0 ))",
10784
+ "original_condition": "((`t2 `.`s ` = arg@0) and (`t6 `.`d ` = `<subquery2>`.`f1()` ))",
10785
10785
"attached_conditions_computation": [
10786
10786
] /* attached_conditions_computation */,
10787
10787
"attached_conditions_summary": [
@@ -10791,7 +10791,7 @@ select d into res from t6 where d in (select f1() from t2 where s=arg) {
10791
10791
},
10792
10792
{
10793
10793
"table": "``.`<subquery2>`",
10794
- "attached": "(`t6`.`d` = `f1`())"
10794
+ "attached": null
10795
10795
},
10796
10796
{
10797
10797
"table": "`t2`",
0 commit comments