ClickHouse/dbms/tests/queries/0_stateless/00918_json_functions_avx2.reference

58 lines
675 B
Plaintext
Raw Normal View History

2019-05-13 23:44:55 +00:00
--JSONLength--
2
2019-05-13 23:44:55 +00:00
3
0
--JSONHas--
2019-03-14 02:55:04 +00:00
1
1
2019-05-13 23:44:55 +00:00
0
--JSONKey--
2019-03-14 02:55:04 +00:00
a
b
b
a
2019-05-13 23:44:55 +00:00
--JSONType--
Object
Array
--JSONExtract<type>--
2019-03-14 02:55:04 +00:00
hello
hello
-100
200
300
2019-05-13 23:44:55 +00:00
1
--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
Thursday
Friday
--JSONExtractRaw--
{"a":"hello","b":[-100,200,300]}
2019-05-13 13:46:19 +00:00
"hello"
[-100,200,300]
-100
2019-05-13 23:44:55 +00:00
{"a":"hello","b":[-100,200,300],"c":{"d":[121,144]}}
2019-05-13 13:46:19 +00:00
{"d":[121,144]}
[121,144]
144
2019-05-13 23:44:55 +00:00
{"passed":true}
{}
--JSONExtractKeysAndValues--
[('a','hello')]
[('b',[-100,200,300])]
[('a','hello'),('b','world')]
[('a',5),('b',7),('c',11)]