is_distinct_from

a ≠ b with null equal to null; never null.

ScalarDeterministic

Flags

Flag Value
Kind scalar
Nulls never null
Deterministic yes
Order matters no
Decomposable no

Example

A pipeline from the language's tested corpus that uses is_distinct_from, over the example tables.

Hint
from orders
filter status is distinct from "void" and customer is not distinct from 3

In a plan:

JSON
{
  "args": [
    {
      "col": 7
    },
    {
      "lit": "void",
      "type": {
        "kind": "utf8"
      }
    }
  ],
  "fn": "is_distinct_from"
}