This is an automated email from the ASF dual-hosted git repository.

morrysnow pushed a commit to branch fix_nta
in repository https://gitbox.apache.org/repos/asf/doris.git

commit fa69b9f1e3c5a0587ba0959f5012acfb4081a730
Author: morrySnow <morrys...@126.com>
AuthorDate: Mon Oct 23 11:22:14 2023 +0800

    [fix](test) update case nereids_syntax_p0/test_timestamp_arithmetic.groovy
---
 .../suites/nereids_syntax_p0/test_timestamp_arithmetic.groovy       | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/regression-test/suites/nereids_syntax_p0/test_timestamp_arithmetic.groovy 
b/regression-test/suites/nereids_syntax_p0/test_timestamp_arithmetic.groovy
index 46bb27fe42d..ad2b36dc271 100644
--- a/regression-test/suites/nereids_syntax_p0/test_timestamp_arithmetic.groovy
+++ b/regression-test/suites/nereids_syntax_p0/test_timestamp_arithmetic.groovy
@@ -22,12 +22,12 @@ suite("nereids_timestamp_arithmetic") {
 
     test {
         sql = "select bitmap_empty() + interval 1 year;"
-        exception = "Unexpected exception: Operand 'bitmap_empty()' of 
timestamp arithmetic expression 'years_add(bitmap_empty(), INTERVAL 1 YEAR)' 
returns type 'BITMAP'. Expected type 'TIMESTAMP/DATE/DATETIME'"
+        exception = "timestamp arithmetic could not contains object type"
     }
 
     test {
         sql = "select date '20200808' + interval array() day;"
-        exception = "the second argument must be a scalar type. but it is 
array()"
+        exception = "timestamp arithmetic could not contains complex type"
     }
 
     sql """
@@ -61,4 +61,4 @@ suite("nereids_timestamp_arithmetic") {
     qt_test_add """
         SELECT c2 + INTERVAL 1 DAY, c3 + INTERVAL 1 SECOND, c4 + INTERVAL 1 
DAY, c5 + INTERVAL 1 DAY, c6 + INTERVAL 1 DAY FROM nereids_test_ta
     """
-}
\ No newline at end of file
+}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to