mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Add test.
This commit is contained in:
parent
1f4df07e08
commit
fb3af77098
@ -4,3 +4,7 @@
|
|||||||
0
|
0
|
||||||
0
|
0
|
||||||
0
|
0
|
||||||
|
0
|
||||||
|
0
|
||||||
|
0
|
||||||
|
0
|
||||||
|
@ -3,6 +3,8 @@ SET allow_simdjson=1;
|
|||||||
SELECT JSONLength('"HX-=');
|
SELECT JSONLength('"HX-=');
|
||||||
SELECT JSONLength('[9]\0\x42\xD3\x36\xE3');
|
SELECT JSONLength('[9]\0\x42\xD3\x36\xE3');
|
||||||
SELECT JSONLength(unhex('5B30000E06D7AA5D'));
|
SELECT JSONLength(unhex('5B30000E06D7AA5D'));
|
||||||
|
SELECT JSONLength('{"success"test:"123"}');
|
||||||
|
SELECT isValidJSON('{"success"test:"123"}');
|
||||||
|
|
||||||
|
|
||||||
SET allow_simdjson=0;
|
SET allow_simdjson=0;
|
||||||
@ -10,3 +12,5 @@ SET allow_simdjson=0;
|
|||||||
SELECT JSONLength('"HX-=');
|
SELECT JSONLength('"HX-=');
|
||||||
SELECT JSONLength('[9]\0\x42\xD3\x36\xE3');
|
SELECT JSONLength('[9]\0\x42\xD3\x36\xE3');
|
||||||
SELECT JSONLength(unhex('5B30000E06D7AA5D'));
|
SELECT JSONLength(unhex('5B30000E06D7AA5D'));
|
||||||
|
SELECT JSONLength('{"success"test:"123"}');
|
||||||
|
SELECT isValidJSON('{"success"test:"123"}');
|
||||||
|
Loading…
Reference in New Issue
Block a user