Dongjoon Hyun created SPARK-14655: ------------------------------------- Summary: Add `assert_true` function Key: SPARK-14655 URL: https://issues.apache.org/jira/browse/SPARK-14655 Project: Spark Issue Type: Improvement Components: SQL Reporter: Dongjoon Hyun
This issue aims to implement `assert_true` function. It's [Hive Generic UDF Function|https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFAssertTrue.java] since 1.2. The following is function description of Hive 1.2. {code} hive> desc function assert_true; OK assert_true(condition) - Throw an exception if 'condition' is not true. {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org