Terry Kim created SPARK-33852:
---------------------------------
Summary: 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
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]