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,26 @@
# name: test/sql/json/issues/issue10751and11152.test
# description: Test issue 10751 and 11152 - Duplicate keys in JSON object ignore_errors
# group: [issues]
require json
# issue 10751
statement error
create or replace table json_test as select * from read_json_auto('data/json/10751.json', format = 'newline_delimited');
----
Not implemented Error: Duplicate name
statement ok
create table json_test as select * from read_json_auto('data/json/10751.json', format = 'newline_delimited', ignore_errors=true);
statement ok
select * from json_test;
# issue 11152
statement error
FROM read_json_auto('data/json/11152.json');
----
Invalid Input Error: Malformed JSON
statement ok
FROM read_json_auto('data/json/11152.json', ignore_errors=true);