mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 22:12:21 +00:00
15 lines
249 B
SQL
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}
|