mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +00:00
24 lines
476 B
Plaintext
24 lines
476 B
Plaintext
-- Expected plan with analyzer:
|
|
SELECT id
|
|
FROM `03161_table`
|
|
WHERE f
|
|
SETTINGS convert_query_to_cnf = 1, optimize_using_constraints = 1, enable_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, enable_analyzer = 0
|
|
|
|
-- Expected result w/o analyzer:
|
|
1
|
|
|
|
-- Reproducer from the issue with analyzer
|
|
2
|
|
|
|
-- Reproducer from the issue w/o analyzer
|
|
2
|