From c9511e92eec4576d32d0e4ad3df87edb5f6319f4 Mon Sep 17 00:00:00 2001 From: lemon Date: Fri, 1 Sep 2023 18:55:29 +0800 Subject: [PATCH] fix --- .../suites/correctness_p0/test_select_constant.groovy | 3 +-- regression-test/suites/nereids_p0/test_select_constant.groovy | 1 + regression-test/suites/query_p0/test_select_constant.groovy | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/regression-test/suites/correctness_p0/test_select_constant.groovy b/regression-test/suites/correctness_p0/test_select_constant.groovy index 38c1c2efdbaa8d5..d802a09b3072236 100644 --- a/regression-test/suites/correctness_p0/test_select_constant.groovy +++ b/regression-test/suites/correctness_p0/test_select_constant.groovy @@ -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);""" } diff --git a/regression-test/suites/nereids_p0/test_select_constant.groovy b/regression-test/suites/nereids_p0/test_select_constant.groovy index 71dfd4d8d38568e..27e672d5b2277dc 100644 --- a/regression-test/suites/nereids_p0/test_select_constant.groovy +++ b/regression-test/suites/nereids_p0/test_select_constant.groovy @@ -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));' } diff --git a/regression-test/suites/query_p0/test_select_constant.groovy b/regression-test/suites/query_p0/test_select_constant.groovy index 6015e19576c6904..a97de84e8796cb9 100644 --- a/regression-test/suites/query_p0/test_select_constant.groovy +++ b/regression-test/suites/query_p0/test_select_constant.groovy @@ -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));' }