Get invited to our slack community and get started for free

SQL Functions

to_sparse

to_sparse(array feature_vector) – Returns a sparse feature in array Platforms: WhereOS, Spark, Hive Class: hivemall.ftvec.conv.ToSparseFeaturesUDF

to_sparse_features

to_sparse_features(array feature_vector) – Returns a sparse feature in array Platforms: WhereOS, Spark, Hive Class: hivemall.ftvec.conv.ToSparseFeaturesUDF

to_json

to_json(expr[, options]) – Returns a JSON string with a given struct value Platforms: WhereOS, Spark,

to_map

to_map(key, value) – Convert two aggregated columns into a key-value map WITH input as (

to_ordered_list

to_ordered_list(PRIMITIVE value [, PRIMITIVE key, const string options]) – Return list of values sorted by

to_ordered_map

to_ordered_map(key, value [, const int k|const boolean reverseOrder=false]) – Convert two aggregated columns into an