substrait-io / substrait

A cross platform way to express data transformation, relational algebra, standardized record expression and plans.
https://substrait.io
Apache License 2.0
1.19k stars 155 forks source link

fix!: specify nullability for is_not_distinct_from #555

Closed vbarua closed 1 year ago

vbarua commented 1 year ago

BREAKING CHANGE: nullability of is_not_distinct_from has changed

vbarua commented 1 year ago

The output of IS NOT DISTINCT FROM is never nullable. This PR updates the definition of the function in the spec to DECLARED_OUTPUT in order to match this behaviour (the default is MIRROR which has a null output if any of the inputs is null).