Description
Check error classes in CreateNamespaceParserSuite by using checkError(). For instance, replace
intercept( "CREATE NAMESPACE a.b.c WITH PROPERTIES('key_without_value', 'key_with_value'='x')", "Operation not allowed: Values must be specified for key(s): [key_without_value]")
by
checkError( exception = parseException( "CREATE NAMESPACE a.b.c WITH PROPERTIES('key_without_value', 'key_with_value'='x')"), errorClass = "...", parameters = Map.empty, context = ...)
Attachments
Issue Links
- is a clone of
-
SPARK-40787 Check error classes in SparkSqlParserSuite
- Resolved
- is cloned by
-
SPARK-40790 Check error classes in DDL parsing tests
- Resolved
- links to