mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
151 lines
1.6 KiB
Plaintext
151 lines
1.6 KiB
Plaintext
--allow_simdjson=1--
|
|
--JSONLength--
|
|
2
|
|
3
|
|
0
|
|
--JSONHas--
|
|
1
|
|
1
|
|
0
|
|
--JSONKey--
|
|
a
|
|
b
|
|
b
|
|
a
|
|
--JSONType--
|
|
Object
|
|
Array
|
|
--JSONExtract<numeric>--
|
|
-100
|
|
200
|
|
300
|
|
1
|
|
0
|
|
--JSONExtractString--
|
|
hello
|
|
hello
|
|
\n\0
|
|
☺
|
|
|
|
|
|
--JSONExtract (generic)--
|
|
('hello',[-100,200,300])
|
|
('hello',[-100,200,300])
|
|
([-100,200,300],'hello')
|
|
('hello\0',0)
|
|
hello
|
|
[-100,200,300]
|
|
(-100,200,300)
|
|
[-100,0,0]
|
|
[-100,NULL,NULL]
|
|
[0,200,0]
|
|
[NULL,200,NULL]
|
|
-100
|
|
200
|
|
\N
|
|
1
|
|
Thursday
|
|
Friday
|
|
--JSONExtractKeysAndValues--
|
|
[('a','hello')]
|
|
[('b',[-100,200,300])]
|
|
[('a','hello'),('b','world')]
|
|
[('a',5),('b',7),('c',11)]
|
|
--JSONExtractRaw--
|
|
{"a":"hello","b":[-100,200,300]}
|
|
"hello"
|
|
[-100,200,300]
|
|
-100
|
|
{"a":"hello","b":[-100,200,300],"c":{"d":[121,144]}}
|
|
{"d":[121,144]}
|
|
[121,144]
|
|
144
|
|
|
|
{"passed":true}
|
|
{}
|
|
"\\n\\u0000"
|
|
"☺"
|
|
--const/non-const mixed--
|
|
a
|
|
b
|
|
c
|
|
d
|
|
e
|
|
u
|
|
v
|
|
--allow_simdjson=0--
|
|
--JSONLength--
|
|
2
|
|
3
|
|
0
|
|
--JSONHas--
|
|
1
|
|
1
|
|
0
|
|
--JSONKey--
|
|
a
|
|
b
|
|
b
|
|
a
|
|
--JSONType--
|
|
Object
|
|
Array
|
|
--JSONExtract<numeric>--
|
|
-100
|
|
200
|
|
300
|
|
1
|
|
0
|
|
--JSONExtractString--
|
|
hello
|
|
hello
|
|
\n\0
|
|
☺
|
|
|
|
|
|
--JSONExtract (generic)--
|
|
('hello',[-100,200,300])
|
|
('hello',[-100,200,300])
|
|
([-100,200,300],'hello')
|
|
('hello\0',0)
|
|
hello
|
|
[-100,200,300]
|
|
(-100,200,300)
|
|
[-100,0,0]
|
|
[-100,NULL,NULL]
|
|
[0,200,0]
|
|
[NULL,200,NULL]
|
|
-100
|
|
200
|
|
\N
|
|
1
|
|
Thursday
|
|
Friday
|
|
--JSONExtractKeysAndValues--
|
|
[('a','hello')]
|
|
[('b',[-100,200,300])]
|
|
[('a','hello'),('b','world')]
|
|
[('a',5),('b',7),('c',11)]
|
|
--JSONExtractRaw--
|
|
{"a":"hello","b":[-100,200,300]}
|
|
"hello"
|
|
[-100,200,300]
|
|
-100
|
|
{"a":"hello","b":[-100,200,300],"c":{"d":[121,144]}}
|
|
{"d":[121,144]}
|
|
[121,144]
|
|
144
|
|
|
|
{"passed":true}
|
|
{}
|
|
"\\n\\u0000"
|
|
"☺"
|
|
--const/non-const mixed--
|
|
a
|
|
b
|
|
c
|
|
d
|
|
e
|
|
u
|
|
v
|