Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LemonLiTree committed Oct 25, 2023
1 parent 82126b6 commit c9511e9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@

suite("test_select_constant") {
qt_select1 'select 100, "test", date("2021-01-02");'
qt_select_geo1 'SELECT ST_AsText(ST_Point(123.12345678901234567890,89.1234567890));'

sql "set enable_nereids_planner=false;"
qt_select_geo1 'SELECT ST_AsText(ST_Point(123.12345678901234567890,89.1234567890));'
qt_select2 """select ifnull(cast('2023-01-01' as DATE) ,0);"""
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ suite("test_select_constant") {
sql "SET enable_nereids_planner=true"
sql "SET enable_fallback_to_original_planner=false"
qt_select1 'select 100, "test", date("2021-01-02");'
sql "set enable_nereids_planner=false;"
qt_select_geo1 'SELECT ST_AsText(ST_Point(123.12345678901234567890,89.1234567890));'
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@

suite("test_select_constant") {
qt_select1 'select 100, "test", date("2021-01-02");'
sql "set enable_nereids_planner=false;"
qt_select_geo1 'SELECT ST_AsText(ST_Point(123.12345678901234567890,89.1234567890));'
}

0 comments on commit c9511e9

Please sign in to comment.