cast

cast(expr AS type) – Casts the value `expr` to the target data type `type`. Platforms:

cast_array

Platforms: WhereOS, Spark, Hive Class: brickhouse.udf.collect.CastArrayUDF More functions can be added to WhereOS via Python

build_bins

build_bins(number weight, const int num_of_bins[, const boolean auto_shrink = false]) – Return quantiles representing bins:

boolean

boolean(expr) – Casts the value `expr` to the target data type `boolean`. Platforms: WhereOS, Spark,

bpr_sampling

bpr_sampling(int userId, List posItems [, const string options])- Returns a relation consists of Platforms: WhereOS,

bround

bround(expr, d) – Returns `expr` rounded to `d` decimal places using HALF_EVEN rounding mode. Platforms: