starts_with
Whether a starts with b (bytewise).
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 starts_with, over the example tables.
from customers
derive {s = starts_with(name, "c"), e = ends_with(name, "1"), c = contains(name, "0")}In a plan:
{
"args": [
{
"col": 1
},
{
"lit": "c",
"type": {
"kind": "utf8"
}
}
],
"fn": "starts_with"
}