Support boolcol IS [NOT] UNKNOWN in partition pruning

Started by David Rowleyalmost 3 years ago2 messageshackers
Jump to latest
#1David Rowley
dgrowleyml@gmail.com

While working on 4c2369ac5, I noticed there's close to as much code to
disallow BooleanTests in the form of "IS UNKNOWN" and "IS NOT UNKNOWN"
in partition pruning as it would take to allow pruning to work for
these.

The attached makes it work.

David

Attachments:

v1-0001-Support-partition-pruning-on-boolcol-IS-NOT-UNKNO.patchtext/plain; charset=US-ASCII; name=v1-0001-Support-partition-pruning-on-boolcol-IS-NOT-UNKNO.patchDownload+91-40
#2David Rowley
dgrowleyml@gmail.com
In reply to: David Rowley (#1)
Re: Support boolcol IS [NOT] UNKNOWN in partition pruning

On Tue, 20 Feb 2024 at 15:38, David Rowley <dgrowleyml@gmail.com> wrote:

While working on 4c2369ac5, I noticed there's close to as much code to
disallow BooleanTests in the form of "IS UNKNOWN" and "IS NOT UNKNOWN"
in partition pruning as it would take to allow pruning to work for
these.

I looked at this again and reminded myself that it's quite trivial. I
pushed the patch after doing a bit more work on the comments.

David