You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/04/15 10:19:25 UTC

[jira] [Commented] (SPARK-14655) Add `assert_true` function

    [ https://issues.apache.org/jira/browse/SPARK-14655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15242626#comment-15242626 ] 

Apache Spark commented on SPARK-14655:
--------------------------------------

User 'dongjoon-hyun' has created a pull request for this issue:
https://github.com/apache/spark/pull/12340

> 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