and_kleene

Kleene and: false and null is false.

ScalarDeterministic

Flags

Flag Value
Kind scalar
Nulls a null argument gives null
Deterministic yes
Order matters no
Decomposable no

Example

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

Hint
from orders
filter status == "paid" and amount > 100.00

In a plan:

JSON
{
  "args": [
    {
      "args": [
        {
          "col": 7
        },
        {
          "lit": "paid",
          "type": {
            "kind": "utf8"
          }
        }
      ],
      "fn": "eq"
    },
    {
      "args": [
        {
          "col": 2
        },
        {
          "lit": "100.00",
          "type": {
            "kind": "decimal128",
            "precision": 5,
            "scale": 2
          }
        }
      ],
      "fn": "gt"
    }
  ],
  "fn": "and_kleene"
}