Text & patterns
Scalar
hive_partition_component()
Returns the hive partition directory for a partition column and its value, e.g. name=value. The name and the value are escaped like url_encode does, a NULL value becomes __HIVE_DEFAULT_PARTITION__.
Reference: Haybarn WASM 2.0.0-rc12
Arguments & returns
hive_partition_component(name, value)
Scalar
| Overload link | name | value |
Returns |
|---|---|---|---|
| #01 | VARCHAR | ANY |
VARCHAR |
Example
Haybarn WASM 2.0.0-rc12 · In your browser
Engine example · Run to view results.