Skip to content

Commit

Permalink
[test](case) error format case in test_query_json_object (apache#34722)
Browse files Browse the repository at this point in the history
error format case in test_query_json_object
  • Loading branch information
Mryange authored and ByteYue committed May 15, 2024
1 parent c6ed978 commit 67e036a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ suite("test_query_json_object", "query") {
qt_sql1 "select json_object('k0',k0,'k1',k1,'k2',k2,'k3',k3,'k4',k4,'k5', null,'k6','k6') from ${tableName} order by k0;"
test {
sql """select k0,json_object(k3,123) from ${tableName} order by k0;"""
exception "[CANCELLED][INTERNAL_ERROR] function json_object can not input null value , JSON documents may not contain NULL member names."
exception "function json_object can not input null value , JSON documents may not contain NULL member names."
}
sql "DROP TABLE ${tableName};"
}

0 comments on commit 67e036a

Please sign in to comment.