ClickHouse/tests/queries/0_stateless/02475_analyzer_subquery_compound_expression.sql
2022-11-10 19:21:51 +01:00

8 lines
276 B
SQL

SET allow_experimental_analyzer=1;
SELECT cast(tuple(1, 2), 'Tuple(value_1 UInt64, value_2 UInt64)') AS value, value.value_1, value.value_2;
SELECT '--';
SELECT value.value_1, value.value_2 FROM (SELECT cast(tuple(1, 2), 'Tuple(value_1 UInt64, value_2 UInt64)') AS value);