mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 11:52:27 +00:00
36 lines
973 B
Plaintext
36 lines
973 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"
|
|
1
|
|
1
|