ends_with
Whether a ends with b.
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 ends_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": "1",
"type": {
"kind": "utf8"
}
}
],
"fn": "ends_with"
}