mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Fix test
This commit is contained in:
parent
1c432d505a
commit
5460035176
@ -1,10 +1,17 @@
|
||||
drop table if exists t;
|
||||
|
||||
create 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, DateTime64, UUID), h FixedString(2), i Array(Nullable(UUID))', 10, 5, 3) limit 2;
|
||||
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('Europe/Moscow'), DateTime64(3, 'Europe/Moscow'), UUID),
|
||||
h FixedString(2),
|
||||
i Array(Nullable(UUID))
|
||||
$$, 10, 5, 3) limit 2;
|
||||
|
||||
select * apply toJSONString from t;
|
||||
|
||||
drop table t;
|
||||
|
||||
set allow_experimental_map_type = 1;
|
||||
select toJSONString(map('1234', '5678'));
|
||||
|
Loading…
Reference in New Issue
Block a user