cardinality

cardinality(expr) – Returns the size of an array or a map.The function returns -1 if

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

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: