ClickHouse/tests/queries/0_stateless/03199_join_with_materialized_column.sql
2024-07-01 00:32:39 +02:00

7 lines
265 B
SQL

SET allow_experimental_analyzer = 1;
DROP TABLE IF EXISTS table_with_materialized;
CREATE TABLE table_with_materialized (col String MATERIALIZED 'A') ENGINE = Memory;
SELECT number FROM numbers(1) AS n, table_with_materialized;
DROP TABLE table_with_materialized;