ClickHouse/tests/queries/0_stateless/01902_self_aliases_in_columns.sql
2024-05-30 19:41:08 +00:00

15 lines
249 B
SQL

CREATE TABLE a
(
`number` UInt64,
`x` MATERIALIZED x
)
ENGINE = MergeTree
ORDER BY number; --{ serverError CYCLIC_ALIASES}
CREATE TABLE foo
(
i Int32,
j ALIAS j + 1
)
ENGINE = MergeTree() ORDER BY i; --{ serverError CYCLIC_ALIASES}