mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-08 15:31:57 +00:00
56 lines
1.6 KiB
Plaintext
56 lines
1.6 KiB
Plaintext
JSON
|
|
{"d":"42","dynamicType(d)":"Int64"}
|
|
{"d":42.42,"dynamicType(d)":"Float64"}
|
|
{"d":"str","dynamicType(d)":"String"}
|
|
{"d":["1","2","3"],"dynamicType(d)":"Array(Int64)"}
|
|
{"d":"2020-01-01","dynamicType(d)":"Date"}
|
|
{"d":"2020-01-01 10:00:00.000000000","dynamicType(d)":"DateTime64(9)"}
|
|
{"d":{"a":"42","b":"str"},"dynamicType(d)":"Tuple(a Int64, b String)"}
|
|
{"d":{"a":"43"},"dynamicType(d)":"Tuple(a Int64)"}
|
|
{"d":{"a":"44","c":["1","2","3"]},"dynamicType(d)":"Tuple(a Int64, c Array(Int64))"}
|
|
{"d":["1","str",["1","2","3"]],"dynamicType(d)":"Tuple(Int64, String, Array(Int64))"}
|
|
{"d":null,"dynamicType(d)":"None"}
|
|
{"d":true,"dynamicType(d)":"Bool"}
|
|
{"d":"42","dynamicType(d)":"Int64"}
|
|
{"d":"42.42","dynamicType(d)":"String"}
|
|
{"d":"str","dynamicType(d)":"String"}
|
|
{"d":null,"dynamicType(d)":"None"}
|
|
{"d":"1","dynamicType(d)":"Int64"}
|
|
CSV
|
|
42,"Int64"
|
|
42.42,"Float64"
|
|
"str","String"
|
|
"[1,2,3]","Array(Int64)"
|
|
"2020-01-01","Date"
|
|
"2020-01-01 10:00:00.000000000","DateTime64(9)"
|
|
"[1, 'str', [1, 2, 3]]","String"
|
|
\N,"None"
|
|
true,"Bool"
|
|
TSV
|
|
42 Int64
|
|
42.42 Float64
|
|
str String
|
|
[1,2,3] Array(Int64)
|
|
2020-01-01 Date
|
|
2020-01-01 10:00:00.000000000 DateTime64(9)
|
|
[1, \'str\', [1, 2, 3]] String
|
|
\N None
|
|
true Bool
|
|
Values
|
|
(42,'Int64'),(42.42,'Float64'),('str','String'),([1,2,3],'Array(Int64)'),('2020-01-01','Date'),('2020-01-01 10:00:00.000000000','DateTime64(9)'),(NULL,'None'),(true,'Bool')
|
|
Cast using parsing
|
|
42 Int64
|
|
42.42 Float64
|
|
[1,2,3] Array(Int64)
|
|
2020-01-01 Date
|
|
2020-01-01 10:00:00.000000000 DateTime64(9)
|
|
\N None
|
|
true Bool
|
|
42 Int64
|
|
42.42 Float64
|
|
[1, 2, 3] String
|
|
2020-01-01 String
|
|
2020-01-01 10:00:00 String
|
|
\N None
|
|
true String
|