You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2020/09/04 04:19:00 UTC

[jira] [Commented] (SPARK-32793) Expose assert_true in Python/Scala APIs and add error message parameter

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

Hyukjin Kwon commented on SPARK-32793:
--------------------------------------

We'd probably expose this in R side as well

> Expose assert_true in Python/Scala APIs and add error message parameter
> -----------------------------------------------------------------------
>
>                 Key: SPARK-32793
>                 URL: https://issues.apache.org/jira/browse/SPARK-32793
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: Karen Feng
>            Priority: Minor
>
> # assert_true is only available as a Spark SQL expression, and should be exposed as a  function in the Scala and Python APIs for easier programmatic access.
>  # The error message thrown when the assertion fails is often not very useful for the user. Add a parameter so that users can pass a custom error message.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org