or_kleene
Kleene or: true or null is true.
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 or_kleene, over the example tables.
from orders
filter rush or qty > 5In a plan:
{
"args": [
{
"col": 9
},
{
"args": [
{
"col": 3
},
{
"lit": 5,
"type": {
"kind": "int64"
}
}
],
"fn": "gt"
}
],
"fn": "or_kleene"
}