Merge pull request #61887 from ClickHouse/test-tuple-elimination-pass-analyzer

Test: tuple elimination with analyzer
This commit is contained in:
Igor Nikonov 2024-03-27 16:51:49 +01:00 committed by GitHub
commit bbf46e6e60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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;