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,36 @@
# name: test/sql/json/issues/issue13725.test
# description: Test issue 13725 - Using both hive_partitioning and hive_types in read_json_objects intermittently segfaults
# group: [issues]
require json
# path slashes
require notwindows
query III
select *
from read_json_objects('data/json/13725/month=*/*.json', hive_partitioning = true, format = auto, hive_types = {'month': int}, filename = true)
where month = 7;
----
{"hello": "there"} data/json/13725/month=07/mytest.json 7
query I
select count(*)
from read_json_objects('data/json/13725/month=*/*.json', hive_partitioning = true, format = auto, hive_types = {'month': int}, filename = true)
where month = 7;
----
1
query III
select *
from read_json('data/json/13725/month=*/*.json', hive_partitioning = true, format = auto, hive_types = {'month': int}, filename = true)
where month = 7;
----
there data/json/13725/month=07/mytest.json 7
query I
select count(*)
from read_json('data/json/13725/month=*/*.json', hive_partitioning = true, format = auto, hive_types = {'month': int}, filename = true)
where month = 7;
----
1