Skip to content

Commit

Permalink
plans
Browse files Browse the repository at this point in the history
  • Loading branch information
snuyanzin committed Feb 1, 2024
1 parent 5c21c68 commit b8c075a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ LogicalProject(a=[$0], d=[$3])
<Resource name="optimized rel plan">
<![CDATA[
LogicalProject(a=[$0], d=[$3])
+- LogicalJoin(condition=[AND(OR(AND(=($0, 1), =($3, 2)), AND(=($0, 2), =($3, 1))), OR(AND(=($0, 3), =($3, 4)), AND(=($0, 4), =($3, 3))), SEARCH($0, Sarg[1, 2]), SEARCH($3, Sarg[1, 2]), SEARCH($0, Sarg[3, 4]), SEARCH($3, Sarg[3, 4]))], joinType=[inner])
+- LogicalJoin(condition=[false], joinType=[inner])
:- LogicalTableScan(table=[[default_catalog, default_database, MyTable1, source: [TestTableSource(a, b, c)]]])
+- LogicalTableScan(table=[[default_catalog, default_database, MyTable2, source: [TestTableSource(d, e, f, g, h)]]])
]]>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ limitations under the License.
</Resource>
<Resource name="ast">
<![CDATA[
LogicalProject(EXPR$0=[$SCALAR_QUERY({
LogicalProject(variablesSet=[[$cor0]], EXPR$0=[$SCALAR_QUERY({
LogicalProject(EXPR$0=[-($0, 1)])
LogicalAggregate(group=[{}], agg#0=[COUNT($0)])
LogicalProject(x=[$0])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ WHERE t1a = 'test'
</Resource>
<Resource name="ast">
<![CDATA[
LogicalProject(min_t1d=[$SCALAR_QUERY({
LogicalProject(variablesSet=[[$cor0]], min_t1d=[$SCALAR_QUERY({
LogicalAggregate(group=[{}], EXPR$0=[MIN($0)])
LogicalProject($f0=[$cor0.t1d])
LogicalFilter(condition=[=($0, _UTF-16LE'test')])
Expand Down Expand Up @@ -65,7 +65,7 @@ FROM t1
</Resource>
<Resource name="ast">
<![CDATA[
LogicalProject(min_t3d=[$SCALAR_QUERY({
LogicalProject(variablesSet=[[$cor0]], min_t3d=[$SCALAR_QUERY({
LogicalAggregate(group=[{}], EXPR$0=[MIN($0)])
LogicalProject(t3d=[$3])
LogicalFilter(condition=[=($0, $cor0.t1a)])
Expand Down

0 comments on commit b8c075a

Please sign in to comment.