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 2020/12/19 20:48:00 UTC

[jira] [Assigned] (SPARK-33852) Use assertAnalysisError in HiveDDLSuite.scala

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

Apache Spark reassigned SPARK-33852:
------------------------------------

    Assignee: Apache Spark

> Use assertAnalysisError in HiveDDLSuite.scala
> ---------------------------------------------
>
>                 Key: SPARK-33852
>                 URL: https://issues.apache.org/jira/browse/SPARK-33852
>             Project: Spark
>          Issue Type: Test
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: Terry Kim
>            Assignee: Apache Spark
>            Priority: Minor
>
> HiveDDLSuite has many of the following patterns:
> {code:java}
> val e = intercept[AnalysisException] {
>   sql(sqlString)
> }
> assert(e.message.contains(exceptionMessage))
> {code}
> However, there already exists "assertAnalysisError" helper function which does exactly the same thing.



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