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 0933900b24bfee6cbdc0ce383f0e1134d619ecf9 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 --- regression-test/conf/regression-conf.groovy | 10 +++++----- .../suites/nereids_syntax_p0/test_timestamp_arithmetic.groovy | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/regression-test/conf/regression-conf.groovy b/regression-test/conf/regression-conf.groovy index d6001476392..b4ebd25bf24 100644 --- a/regression-test/conf/regression-conf.groovy +++ b/regression-test/conf/regression-conf.groovy @@ -24,18 +24,18 @@ defaultDb = "regression_test" // init cmd like: select @@session.tx_read_only // at each time we connect. // add allowLoadLocalInfile so that the jdbc can execute mysql load data from client. -jdbcUrl = "jdbc:mysql://127.0.0.1:9030/?useLocalSessionState=true&allowLoadLocalInfile=true" -targetJdbcUrl = "jdbc:mysql://127.0.0.1:9030/?useLocalSessionState=true&allowLoadLocalInfile=true" +jdbcUrl = "jdbc:mysql://127.0.0.1:9636/?useLocalSessionState=true&allowLoadLocalInfile=true" +targetJdbcUrl = "jdbc:mysql://127.0.0.1:9636/?useLocalSessionState=true&allowLoadLocalInfile=true" jdbcUser = "root" jdbcPassword = "" -feSourceThriftAddress = "127.0.0.1:9020" -feTargetThriftAddress = "127.0.0.1:9020" +feSourceThriftAddress = "127.0.0.1:9626" +feTargetThriftAddress = "127.0.0.1:9626" syncerAddress = "127.0.0.1:9190" feSyncerUser = "root" feSyncerPassword = "" -feHttpAddress = "127.0.0.1:8030" +feHttpAddress = "127.0.0.1:8636" feHttpUser = "root" feHttpPassword = "" 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