mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
19 lines
481 B
SQL
19 lines
481 B
SQL
-- Tags: no-fasttest
|
|
|
|
create temporary table t engine Memory as select * from generateRandom(
|
|
$$
|
|
a Array(Int8),
|
|
b UInt32,
|
|
c Nullable(String),
|
|
d Decimal32(4),
|
|
e Nullable(Enum16('h' = 1, 'w' = 5 , 'o' = -200)),
|
|
f Float64,
|
|
g Tuple(Date, DateTime('Asia/Istanbul'), DateTime64(3, 'Asia/Istanbul'), UUID),
|
|
h FixedString(2),
|
|
i Array(Nullable(UUID))
|
|
$$, 10, 5, 3) limit 2;
|
|
|
|
select * apply toJSONString from t;
|
|
|
|
select toJSONString(map('1234', '5678'));
|