ClickHouse/tests/queries/0_stateless/01902_self_aliases_in_columns.sql

15 lines
227 B
MySQL
Raw Normal View History

2021-06-07 20:59:38 +00:00
CREATE TABLE a
(
`number` UInt64,
`x` MATERIALIZED x
)
ENGINE = MergeTree
ORDER BY number; --{ serverError 174}
CREATE TABLE foo
(
i Int32,
j ALIAS j + 1
)
ENGINE = MergeTree() ORDER BY i; --{ serverError 174}