On Wed, Dec 24, 2025 at 4:02 AM Richard Guo <[email protected]> wrote:
> Teach expr_is_nonnullable() to handle more expression types

Due to this commit, expr_is_nonnullable() claims that "IS DISTINCT
FROM never returns NULL", but execExprInterp.c's implementation for
EEOP_DISTINCT disagrees; when neither argument is NULL, it returns
null if the underlying operator does. Two Claude-written test cases
illustrating the problem are attached.

-- 
Robert Haas
Databricks

Attachment: finding5.sql
Description: Binary data

Attachment: finding7.sql
Description: Binary data

Reply via email to