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,30 @@
# name: test/sql/json/test_json_persistence.test
# description: Test persistence of the JSON type
# group: [json]
require json
# load the DB from disk
load __TEST_DIR__/json_type.db
statement ok
create table test (j json)
statement ok
insert into test values ('{"duck": 42}'), (NULL), ('{"goose": 43}')
query II
select typeof(j), j from test
----
JSON {"duck": 42}
JSON NULL
JSON {"goose": 43}
restart
query II
select typeof(j), j from test
----
JSON {"duck": 42}
JSON NULL
JSON {"goose": 43}