This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new 82af1507e7 [fix](testcase) fix case failure of strict insert (#20930) 82af1507e7 is described below commit 82af1507e7c6169fa5b6f15313e0c59126d45287 Author: TengJianPing <18241664+jackte...@users.noreply.github.com> AuthorDate: Sat Jun 17 09:41:15 2023 +0800 [fix](testcase) fix case failure of strict insert (#20930) --- .../sql_functions/datetime_functions/test_date_function.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 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 00e8f512b5..d4eb266f2d 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 @@ -566,7 +566,7 @@ suite("test_date_function") { insert into ${tableName} values ('2022-01-01', '2022-01-01', '2022-01-01 00:00:00', '2022-01-01 00:00:00'), ('2000-02-01', '2000-02-01', '2000-02-01 00:00:00', '2000-02-01 00:00:00.123'), - ('2022-02-29', '2022-02-29', '2022-02-29 00:00:00', '2022-02-29 00:00:00'), + ('2022-02-27', '2022-02-27', '2022-02-27 00:00:00', '2022-02-27 00:00:00'), ('2022-02-28', '2022-02-28', '2022-02-28T23:59:59', '2022-02-28T23:59:59');""" qt_sql """ select last_day(birth), last_day(birth1), @@ -588,7 +588,7 @@ suite("test_date_function") { insert into ${tableName} values ('2022-01-01', '2022-01-01 00:00:00'), ('2000-02-01', '2000-02-01 00:00:00'), - ('2022-02-29', '2022-02-29 00:00:00'), + ('2022-02-27', '2022-02-27 00:00:00'), ('2022-02-28', '2022-02-28 23:59:59');""" qt_sql """ select last_day(birth), last_day(birth1) from ${tableName}; @@ -611,7 +611,7 @@ suite("test_date_function") { insert into ${tableName} values ('2022-01-01', '2022-01-01', '2022-01-01 00:00:00', '2022-01-01 00:00:00'), ('2000-02-01', '2000-02-01', '2000-02-01 00:00:00', '2000-02-01 00:00:00.123'), - ('2022-02-29', '2022-02-29', '2022-02-29 00:00:00', '2022-02-29 00:00:00'), + ('2022-02-27', '2022-02-27', '2022-02-27 00:00:00', '2022-02-27 00:00:00'), ('2022-02-28', '2022-02-28', '2022-02-28 23:59:59', '2022-02-28 23:59:59'), ('1970-01-02', '1970-01-02', '1970-01-02 01:02:03', '1970-01-02 02:03:04');""" qt_sql """ --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org