MaxGekk commented on code in PR #37746:
URL: https://github.com/apache/spark/pull/37746#discussion_r964682078
##########
sql/core/src/test/scala/org/apache/spark/sql/execution/command/PlanResolutionSuite.scala:
##########
@@ -1257,8 +1257,8 @@ class PlanResolutionSuite extends AnalysisTest {
val e2 = intercept[AnalysisException] {
parseAndResolve(sql4)
}
- assert(e2.getMessage.contains(
- "ALTER COLUMN with qualified column is only supported with v2
tables"))
+ assert(e2.getMessage.contains("Table
`spark_catalog`.`default`.`v1Table` does not " +
Review Comment:
Please, use `checkError()` and avoid checking the error message from
`error-classes.json` that can be in local language or modified by tech editors
independently from your test.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]