Platforms: WhereOS, Spark, Hive Class: com.whereos.udf.ReadJSONGeometryUDF More functions can be added to WhereOS via Python
radians(expr) – Converts degrees to radians. Platforms: WhereOS, Spark, Hive Class: org.apache.spark.sql.catalyst.expressions.ToRadians More functions can
raise_error() or raise_error(string msg) – Throws an error SELECT product_id, price, raise_error(‘Found an invalid record’)
rand([seed]) – Returns a random value with independent and identically distributed (i.i.d.) uniformly distributed values
quantitative_features(array featureNames, feature1, feature2, .. [, const string options]) – Returns a feature vector array