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 namevalue Returns
#01 VARCHARANY VARCHAR

Example

hive_partition_component example
SQL
Haybarn WASM 2.0.0-rc12 · In your browser

Engine example · Run to view results.