trunc

trunc(date, fmt) – Returns `date` with the time portion of the day truncated to the

truncate_array

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

tree_predict_v1

tree_predict_v1(string modelId, int modelType, string script, array features [, const boolean classification]) – Returns a

tree_predict

tree_predict(string modelId, string model, array features [, const string options | const boolean classification=false]) –

transpose_and_dot

transpose_and_dot(array X, array Y) – Returns dot(X.T, Y) as array, shape = (X.#cols, Y.#cols) WITH

tree_export

tree_export(string model, const string options, optional array featureNames=null, optional array classNames=null) – exports a Decision