mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
24 lines
500 B
Plaintext
24 lines
500 B
Plaintext
-- Expected plan with analyzer:
|
|
SELECT id
|
|
FROM `03161_table`
|
|
WHERE f
|
|
SETTINGS convert_query_to_cnf = 1, optimize_using_constraints = 1, allow_experimental_analyzer = 1
|
|
|
|
-- Expected result with analyzer:
|
|
1
|
|
|
|
-- Expected plan w/o analyzer:
|
|
SELECT id
|
|
FROM `03161_table`
|
|
WHERE f
|
|
SETTINGS convert_query_to_cnf = 1, optimize_using_constraints = 1, allow_experimental_analyzer = 0
|
|
|
|
-- Expected result w/o analyzer:
|
|
1
|
|
|
|
-- Reproducer from the issue with analyzer
|
|
2
|
|
|
|
-- Reproducer from the issue w/o analyzer
|
|
2
|