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
SELECT count()
FROM `02725_cnf`
WHERE ((NOT c2) AND c2 AND (NOT c1)) OR ((NOT c2) AND c3 AND (NOT c5)) OR ((NOT c7) AND (NOT c8)) OR (c9 AND c6 AND c8 AND (NOT c8) AND (NOT c7))
Query id: b2f5bc62-1eec-40d4-bf48-720233d7c611
┌─count()─┐
│ 2 │
└─────────┘
With convert_query_to_cnf and optimize_using_constraints:
SELECT count()
FROM `02725_cnf`
WHERE ((NOT c2) AND c2 AND (NOT c1)) OR ((NOT c2) AND c3 AND (NOT c5)) OR ((NOT c7) AND (NOT c8)) OR (c9 AND c6 AND c8 AND (NOT c8) AND (NOT c7))
SETTINGS convert_query_to_cnf = 1, optimize_using_constraints = 1
Query id: b1fc0d50-e581-4211-aa35-4ef0f3bf8903
┌─count()─┐
│ 8 │
└─────────┘
1 row in set. Elapsed: 0.008 sec.
Enabling only one of them does not trigger the problem. Fails both with and without the analyzer.
The text was updated successfully, but these errors were encountered:
Comes from 02725_cnf_large_check.sql:
Setup
Default settings:
With convert_query_to_cnf and optimize_using_constraints:
Enabling only one of them does not trigger the problem. Fails both with and without the analyzer.
The text was updated successfully, but these errors were encountered: