Skip to content

Commit

Permalink
[test](case) forbid fold constant temp in json cast
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangstar333 committed May 18, 2024
1 parent 776563d commit 37893dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions regression-test/suites/datatype_p0/json/json_cast.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down

0 comments on commit 37893dd

Please sign in to comment.