Merge pull request #57606 from ClickHouse/fix-test-distinct-in-order-analyzer

Fix flaky test: distinct in order with analyzer
This commit is contained in:
Nikolai Kochetov 2023-12-07 12:26:53 +01:00 committed by GitHub
commit a1e8c06433
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,4 +5,5 @@ set allow_experimental_analyzer=1;
create table t (a UInt64, b UInt64) engine=MergeTree() order by (a);
insert into t select number % 2, number from numbers(10);
set optimize_distinct_in_order=1;
select trimBoth(explain) from (explain pipeline select distinct a from t) where explain like '%InOrder%';