mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
34 lines
969 B
Plaintext
34 lines
969 B
Plaintext
==== check escaping ====
|
|
"qwe,rty","as""df'gh","","zx
|
|
cv bn m",123,"2016-01-01"
|
|
"as""df'gh","","zx
|
|
cv bn m","qwe,rty",456,"2016-01-02"
|
|
"zx
|
|
cv bn m","qwe,rty","as""df'gh","",789,"2016-01-04"
|
|
"","zx
|
|
cv bn m","qwe,rty","as""df'gh",9876543210,"2016-01-03"
|
|
==== parse json (sophisticated template) ====
|
|
"qwe,rty","as""df'gh","","zx
|
|
cv bn m",123,"2016-01-01"
|
|
"as""df'gh","","zx
|
|
cv bn m","qwe,rty",456,"2016-01-02"
|
|
"zx
|
|
cv bn m","qwe,rty","as""df'gh","",789,"2016-01-04"
|
|
"","zx
|
|
cv bn m","qwe,rty","as""df'gh",9876543210,"2016-01-03"
|
|
==== parse json ====
|
|
"","","qwe,rty","",123,"2016-01-01"
|
|
"zx
|
|
cv bn m","","as""df'gh","",456,"2016-01-02"
|
|
"as""df'gh","","zx
|
|
cv bn m","",789,"2016-01-04"
|
|
"qwe,rty","","","",9876543210,"2016-01-03"
|
|
==== check raw ====
|
|
"qwe,rty","as""df'gh","","zx
|
|
cv bn m",123,"2016-01-01"
|
|
"as""df\'gh","","zx
|
|
cv bn m","qwe,rty",456,"2016-01-02"
|
|
"zx\cv\bn m","qwe,rty","as""df'gh","",789,"2016-01-04"
|
|
"","zx
|
|
cv bn m","qwe,rty","as""df'gh",9876543210,"2016-01-03"
|