should be it

This commit is contained in:
2025-10-24 19:21:19 -05:00
parent a4b23fc57c
commit f09560c7b1
14047 changed files with 3161551 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
# name: test/sql/json/issues/issue19357.test
# description: Test issue 19357 - Expected unified vector format of type VARCHAR, but found type INT32
# group: [issues]
require json
query I
SELECT TO_JSON({'key_1': 'one'}) AS WITHOUT_KEEP_NULL
----
{"key_1":"one"}
query I
SELECT JSON_OBJECT('key_1', 'one', 'key_2', NULL) AS KEEP_NULL_1
----
{"key_1":"one","key_2":null}
statement error
SELECT JSON_OBJECT('key_1', 'one', NULL, 'two') AS KEEP_NULL_2
----
json_object() keys must be VARCHAR