From 53f6021580182e9e90959de46cf89eb9084a0b2e Mon Sep 17 00:00:00 2001 From: 924060929 Date: Thu, 28 Nov 2024 15:14:55 +0800 Subject: [PATCH] fix --- .../sql_functions/datetime_functions/test_date_function.groovy | 2 -- .../sql_functions/datetime_functions/test_date_function.groovy | 2 -- 2 files changed, 4 deletions(-) diff --git a/regression-test/suites/nereids_p0/sql_functions/datetime_functions/test_date_function.groovy b/regression-test/suites/nereids_p0/sql_functions/datetime_functions/test_date_function.groovy index b7a3b7a4da7e77..bdd92166f7e686 100644 --- a/regression-test/suites/nereids_p0/sql_functions/datetime_functions/test_date_function.groovy +++ b/regression-test/suites/nereids_p0/sql_functions/datetime_functions/test_date_function.groovy @@ -722,8 +722,6 @@ suite("test_date_function") { qt_sql_time_value """ select cast(4562632 as time), hour(cast(4562632 as time)) , minute(cast(4562632 as time)) , second(cast(4562632 as time)); """ def test_simplify = { - sql "drop table if exists test_int_date" - sql "create table test_int_date(dt int) distributed by hash(dt) properties('replication_num'='1');" test { sql "select months_add(dt, 1) = date '2024-02-29' from (select date '2024-01-31' as dt)a" result([[true]]) diff --git a/regression-test/suites/query_p0/sql_functions/datetime_functions/test_date_function.groovy b/regression-test/suites/query_p0/sql_functions/datetime_functions/test_date_function.groovy index a5c87ab941b564..8bd43dae685afc 100644 --- a/regression-test/suites/query_p0/sql_functions/datetime_functions/test_date_function.groovy +++ b/regression-test/suites/query_p0/sql_functions/datetime_functions/test_date_function.groovy @@ -820,8 +820,6 @@ suite("test_date_function") { qt_sql_varchar1 """ select fmt, unix_timestamp("1990-12-12", fmt) as k1 from date_varchar order by k1,dt,fmt; """ def test_simplify = { - sql "drop table if exists test_int_date" - sql "create table test_int_date(dt int) distributed by hash(dt) properties('replication_num'='1');" test { sql "select months_add(dt, 1) = date '2024-02-29' from (select date '2024-01-31' as dt)a" result([[true]])