Test: tuple elimination with analyzer

This commit is contained in:
Igor Nikonov 2024-03-25 20:34:24 +00:00
parent 20a45b4073
commit b6057bd83c
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,9 @@
DROP TABLE IF EXISTS test;
SET allow_suspicious_low_cardinality_types = true, allow_experimental_analyzer = true;
CREATE TABLE test (`id` LowCardinality(UInt32)) ENGINE = MergeTree ORDER BY id AS SELECT 0;
SELECT tuple(tuple(id) = tuple(1048576)) FROM test;
DROP TABLE test;