An impossible predicate
A NOT NULL boolean is never UNKNOWN.
task
Select from lab.bool_tab where flag_nn IS UNKNOWN. The scan should never run.
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
A NOT NULL boolean is never UNKNOWN.
Select from lab.bool_tab where flag_nn IS UNKNOWN. The scan should never run.