You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Takeshi Yamamuro (Jira)" <ji...@apache.org> on 2020/02/27 14:16:00 UTC

[jira] [Resolved] (SPARK-30956) Use intercept instead of try-catch to assert failures in IntervalUtilsSuite

     [ https://issues.apache.org/jira/browse/SPARK-30956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Takeshi Yamamuro resolved SPARK-30956.
--------------------------------------
    Fix Version/s: 3.0.0
         Assignee: Kent Yao
       Resolution: Fixed

Resolved by [https://github.com/apache/spark/pull/27700]

> Use intercept instead of try-catch to assert failures in IntervalUtilsSuite
> ---------------------------------------------------------------------------
>
>                 Key: SPARK-30956
>                 URL: https://issues.apache.org/jira/browse/SPARK-30956
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.0.0, 3.1.0
>            Reporter: Kent Yao
>            Assignee: Kent Yao
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> Addressed the comment from https://github.com/apache/spark/pull/27672#discussion_r383719562 to use `intercept` instead of `try-catch` block to assert  failures in the IntervalUtilsSuite



--
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