mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-19 06:50:50 +00:00
6 lines
159 B
MySQL
6 lines
159 B
MySQL
|
CREATE TABLE IF NOT EXISTS test.sign (Sign Int8, Arr Array(Int8)) ENGINE = Memory;
|
||
|
|
||
|
SELECT arrayMap(x -> x * Sign, Arr) FROM test.sign;
|
||
|
|
||
|
DROP TABLE test.sign;
|