Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ PhysicalResultSink
-- !3 --
PhysicalResultSink
--PhysicalDistribute
----filter((T.b = 2) and (rn <= 2))
----filter((rn <= 2)(T.b = 2))
------PhysicalWindow
--------PhysicalQuickSort
----------PhysicalPartitionTopN
Expand All @@ -42,9 +42,9 @@ PhysicalResultSink
PhysicalResultSink
--PhysicalDistribute
----PhysicalProject
------filter((T.b = 2) and (rn <= 2))
------filter((rn <= 2)(T.b = 2))
--------PhysicalWindow
----------PhysicalPartitionTopN
----------PhysicalQuickSort
------------PhysicalDistribute
--------------PhysicalPartitionTopN
----------------PhysicalProject
Expand Down
4 changes: 2 additions & 2 deletions regression-test/suites/nereids_syntax_p0/advance_mv.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ suite("advance_mv") {
createMV("CREATE materialized VIEW mv2 AS SELECT abs(k1)+k2+1 tmp, sum(abs(k2+2)+k3+3) FROM ${tbName2} GROUP BY tmp;")

explain {
sql("SELECT abs(k1)+k2+1 tmp, sum(abs(k2+2)+k3+3) from FROM ${tbName2} GROUP BY tmp;")
sql("SELECT abs(k1)+k2+1 tmp, sum(abs(k2+2)+k3+3) FROM ${tbName2} GROUP BY tmp;")
contains "(mv2)"
}
order_qt_select_star "SELECT abs(k1)+k2+1 tmp, sum(abs(k2+2)+k3+3) from FROM ${tbName2} GROUP BY tmp;"
order_qt_select_star "SELECT abs(k1)+k2+1 tmp, sum(abs(k2+2)+k3+3) FROM ${tbName2} GROUP BY tmp;"

sql "CREATE materialized VIEW mv3 AS SELECT abs(k1)+k2+1 tmp, abs(k2+2)+k3+3 FROM ${tbName2};"
int max_try_secs2 = 60
Expand Down
2 changes: 1 addition & 1 deletion regression-test/suites/nereids_syntax_p0/function.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ suite("nereids_function") {
}

test {
sql """select "1" == "123", "%%" == "%%" """
sql """select "1" = "123", "%%" = "%%" """
result([[false, true]])
}

Expand Down