or
a or b; null when either is null.
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, over the example tables.
from orders
filter and(rush, qty > 1) or or(rush, price > 1e1)In a plan:
{
"args": [
{
"col": 9
},
{
"args": [
{
"col": 4
},
{
"lit": 10,
"type": {
"kind": "float64"
}
}
],
"fn": "gt"
}
],
"fn": "or"
}