[ https://issues.apache.org/jira/browse/SPARK-40787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-40787: ------------------------------------ Assignee: (was: Apache Spark) > Check error classes in SparkSqlParserSuite > ------------------------------------------ > > Key: SPARK-40787 > URL: https://issues.apache.org/jira/browse/SPARK-40787 > 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 SparkSqlParserSuite by using checkError(). For > instance, replace > {code:scala} > intercept("SET spark.sql.key value", expectedErrMsg) > {code} > by > {code:scala} > checkError( > exception = parseException("SET spark.sql.key value"), > errorClass = "...", > parameters = Map.empty, > context = ...) > {code} > at > https://github.com/apache/spark/blob/7309e76d8b95e306d6f3d2f611316b748949e9cf/sql/core/src/test/scala/org/apache/spark/sql/execution/SparkSqlParserSuite.scala#L113 -- 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