mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Added test [#CLICKHOUSE-2].
This commit is contained in:
parent
d70f59e9bb
commit
c2a32990bb
@ -0,0 +1,16 @@
|
||||
['a\0\0\0\0','b\0\0\0\0','c\0\0\0\0']
|
||||
['hello','world']
|
||||
['a\0\0\0\0','b\0\0\0\0','c\0\0\0\0']
|
||||
['hello','world']
|
||||
['a\0\0\0\0','b\0\0\0\0','c\0\0\0\0']
|
||||
['hello','world']
|
||||
['a\0\0\0\0','b\0\0\0\0','c\0\0\0\0']
|
||||
['hello','world']
|
||||
['a\0\0\0\0','b\0\0\0\0','c\0\0\0\0']
|
||||
['hello','world']
|
||||
['a\0\0\0\0','b\0\0\0\0','c\0\0\0\0']
|
||||
['hello','world']
|
||||
['a\0\0\0\0','b\0\0\0\0','c\0\0\0\0']
|
||||
['hello','world']
|
||||
['a\0\0\0\0','b\0\0\0\0','c\0\0\0\0']
|
||||
['hello','world']
|
@ -0,0 +1,4 @@
|
||||
SELECT number % 2 ? arrayMap(x -> toFixedString(x, 5), ['hello', 'world']) : arrayMap(x -> toFixedString(x, 5), ['a', 'b', 'c']) FROM system.numbers LIMIT 4;
|
||||
SELECT number % 2 ? materialize(arrayMap(x -> toFixedString(x, 5), ['hello', 'world'])) : arrayMap(x -> toFixedString(x, 5), ['a', 'b', 'c']) FROM system.numbers LIMIT 4;
|
||||
SELECT number % 2 ? arrayMap(x -> toFixedString(x, 5), ['hello', 'world']) : materialize(arrayMap(x -> toFixedString(x, 5), ['a', 'b', 'c'])) FROM system.numbers LIMIT 4;
|
||||
SELECT number % 2 ? materialize(arrayMap(x -> toFixedString(x, 5), ['hello', 'world'])) : materialize(arrayMap(x -> toFixedString(x, 5), ['a', 'b', 'c'])) FROM system.numbers LIMIT 4;
|
Loading…
Reference in New Issue
Block a user