You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Scalar subqueries always executed even if not used #53752
WITH (
SELECT sleepEachRow(2)
) AS res
SELECT *
FROM system.one
┌─dummy─┐
│ 0 │
└───────┘
1 row in set. Elapsed: 2.002 sec.
WITH sleepEachRow(2) AS res
SELECT *
FROM system.one
┌─dummy─┐
│ 0 │
└───────┘
1 row in set. Elapsed: 0.001 sec.
Activity
novikd commentedon Sep 11, 2023
Must be fixed for analyzer in #52947
UnamedRus commentedon Feb 11, 2025
Working with new analyzer
https://fiddle.clickhouse.com/9a61ed05-e470-454a-a580-6237ed23664e
novikd commentedon Feb 11, 2025
@UnamedRus It is worth adding a test.
Add test for #53752
Merge pull request #75910 from ClickHouse/analyzer-unused-scalar-subq…