You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2016/04/15 10:18:25 UTC
[jira] [Created] (SPARK-14655) Add `assert_true` function
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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org