Get invited to our slack community and get access to opportunities and data science insights

Blog

to_utc_timestamp

to_utc_timestamp(timestamp, timezone) – Given a timestamp like ‘2017-07-14 02:40:00.0’, interprets it as a time in

to_unix_timestamp

to_unix_timestamp(timeExp[, format]) – Returns the UNIX timestamp of the given time. Platforms: WhereOS, Spark, Hive

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_string_array

to_string_array(array) – Returns an array of strings select to_string_array(array(1.0,2.0,3.0)); [“1.0″,”2.0″,”3.0”] Platforms: WhereOS, Spark, Hive Class:

to_map

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