[
https://issues.apache.org/jira/browse/SPARK-33852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17252267#comment-17252267
]
Apache Spark commented on SPARK-33852:
--------------------------------------
User 'imback82' has created a pull request for this issue:
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
> 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: [email protected]
For additional commands, e-mail: [email protected]