ClickHouse/tests/queries/0_stateless/02354_array_lowcardinality.sql

15 lines
902 B
MySQL
Raw Normal View History

SELECT toTypeName([toLowCardinality('1'), toLowCardinality('2')]);
SELECT toTypeName([materialize(toLowCardinality('1')), toLowCardinality('2')]);
SELECT toTypeName([toLowCardinality('1'), materialize(toLowCardinality('2'))]);
SELECT toTypeName([materialize(toLowCardinality('1')), materialize(toLowCardinality('2'))]);
SELECT toTypeName([toLowCardinality('1'), '2']);
SELECT toTypeName([materialize(toLowCardinality('1')), '2']);
SELECT toTypeName([toLowCardinality('1'), materialize('2')]);
SELECT toTypeName([materialize(toLowCardinality('1')), materialize('2')]);
SELECT toTypeName(map(toLowCardinality('1'), toLowCardinality('2')));
SELECT toTypeName(map(materialize(toLowCardinality('1')), toLowCardinality('2')));
SELECT toTypeName(map(toLowCardinality('1'), materialize(toLowCardinality('2'))));
SELECT toTypeName(map(materialize(toLowCardinality('1')), materialize(toLowCardinality('2'))));