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

Blog

write_to_tsdb

This function writes metrics to the TSDB (metics names should look like proc.loadavg.1min, http.hits while

word_ngrams

word_ngrams(array words, int minSize, int maxSize]) – Returns list of n-grams for given words, where

window

Platforms: WhereOS, Spark, Hive Class: org.apache.spark.sql.catalyst.expressions.TimeWindow More functions can be added to WhereOS via Python

write_to_graphite

Writes metric or collection of metrics to graphite.write_to_graphite(String hostname, int port, Map nameToValue, Long timestampInSeconds)

when

CASE WHEN expr1 THEN expr2 [WHEN expr3 THEN expr4]* [ELSE expr5] END – When `expr1`

weekday

weekday(date) – Returns the day of the week for date/timestamp (0 = Monday, 1 =