Update tests expectations for early_constant_folding

This commit is contained in:
Azat Khuzhin 2021-02-11 10:30:08 +03:00
parent 6b82e8ad19
commit 222a0db3f4
3 changed files with 3 additions and 2 deletions

View File

@ -115,6 +115,7 @@ FROM
SELECT
1 AS id,
identity(cast(1, \'UInt8\')) AS subquery
WHERE subquery = 1
)
WHERE subquery = 1
1 1

View File

@ -2,7 +2,7 @@ SELECT 1
WHERE 0
SELECT 1
SELECT 1
WHERE 0
WHERE (1 IN (0, 2)) AND (2 = (identity(cast(2, \'UInt8\')) AS subquery))
SELECT 1
WHERE 1 IN (
(

View File

@ -4,7 +4,7 @@ EXPLAIN SYNTAX SELECT 1 WHERE 1 = 0;
EXPLAIN SYNTAX SELECT 1 WHERE 1 IN (0, 1, 2);
EXPLAIN SYNTAX SELECT 1 WHERE 1 IN (0, 2) AND 2 = (SELECT 2);
EXPLAIN SYNTAX SELECT 1 WHERE 1 IN (0, 2) AND 2 = ((SELECT 2) AS subquery);
-- no constant folding