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

Dongjoon Hyun resolved SPARK-33852.
-----------------------------------
    Fix Version/s: 3.2.0
       Resolution: Fixed

Issue resolved by pull request 30857
[https://github.com/apache/spark/pull/30857]

> 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: Terry Kim
>            Priority: Minor
>             Fix For: 3.2.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to