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

mrhhsg 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 6e80c88c227 [test](case) forbid fold constant temp in json cast 
(#35038)
6e80c88c227 is described below

commit 6e80c88c227dc1668d1739a84183128b3a6c8b51
Author: zhangstar333 <87313068+zhangstar...@users.noreply.github.com>
AuthorDate: Sun May 19 08:21:49 2024 +0800

    [test](case) forbid fold constant temp in json cast (#35038)
---
 regression-test/suites/datatype_p0/json/json_cast.groovy | 1 +
 1 file changed, 1 insertion(+)

diff --git a/regression-test/suites/datatype_p0/json/json_cast.groovy 
b/regression-test/suites/datatype_p0/json/json_cast.groovy
index 7646b4f7ccb..dcb42effdf3 100644
--- a/regression-test/suites/datatype_p0/json/json_cast.groovy
+++ b/regression-test/suites/datatype_p0/json/json_cast.groovy
@@ -16,6 +16,7 @@
 // under the License.
 
 suite("test_json_type_cast", "p0") {
+    sql """ set enable_fold_constant_by_be = false;"""
     qt_sql1 "SELECT CAST(CAST(10 AS JSON) as INT)"
     qt_sql2 "SELECT CAST(CAST(102423 AS JSON) as TINYINT)"
     qt_sql3 "SELECT CAST(CAST(102423 AS JSON) as SMALLINT)"


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

Reply via email to