ClickHouse/dbms/tests/queries/0_stateless/00819_ast_refactoring_bugs.sql

6 lines
159 B
MySQL
Raw Normal View History

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;