and
a and 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 and, over the example tables.
from orders
filter and(rush, qty > 1) or or(rush, price > 1e1)In a plan:
{
"args": [
{
"col": 9
},
{
"args": [
{
"col": 3
},
{
"lit": 1,
"type": {
"kind": "int64"
}
}
],
"fn": "gt"
}
],
"fn": "and"
}