[ https://issues.apache.org/jira/browse/SPARK-40788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17617405#comment-17617405 ]
BingKun Pan commented on SPARK-40788: ------------------------------------- I will work on it > Check error classes in CreateNamespaceParserSuite > ------------------------------------------------- > > Key: SPARK-40788 > URL: https://issues.apache.org/jira/browse/SPARK-40788 > Project: Spark > Issue Type: Sub-task > Components: SQL > Affects Versions: 3.4.0 > Reporter: Max Gekk > Priority: Major > Labels: starter > Fix For: 3.4.0 > > > Check error classes in CreateNamespaceParserSuite by using checkError(). For > instance, replace > {code:scala} > 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]") > {code} > by > {code:scala} > checkError( > exception = parseException( "CREATE NAMESPACE a.b.c WITH > PROPERTIES('key_without_value', 'key_with_value'='x')"), > errorClass = "...", > parameters = Map.empty, > context = ...) > {code} > at > https://github.com/apache/spark/blob/35d00df9bba7238ad4f409999617fae4d04ddbfd/sql/core/src/test/scala/org/apache/spark/sql/execution/command/CreateNamespaceParserSuite.scala#L75-L77 -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org