Description
Check error classes in PlanParserSuite by using checkError(). For instance, replace
intercept("EXPLAIN logical SELECT 1", "Unsupported SQL statement")
by
checkError( exception = parseException("EXPLAIN logical SELECT 1"), errorClass = "...", parameters = Map.empty, context = ...)
Attachments
Issue Links
- is a clone of
-
SPARK-40785 Check error classes in ExpressionParserSuite
- Resolved
- is cloned by
-
SPARK-40787 Check error classes in SparkSqlParserSuite
- Resolved
- links to