[ 
https://issues.apache.org/jira/browse/SPARK-40785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17617991#comment-17617991
 ] 

BingKun Pan commented on SPARK-40785:
-------------------------------------

I will work on it.

> Check error classes in ExpressionParserSuite
> --------------------------------------------
>
>                 Key: SPARK-40785
>                 URL: https://issues.apache.org/jira/browse/SPARK-40785
>             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 ExpressionParserSuite by using checkError(). For 
> instance, replace
> {code:scala}
> intercept("a like 'pattern%' escape '##'", message)
> {code}
> by
> {code:scala}
> checkError(
>       exception = parseException("a like 'pattern%' escape '##'"),
>       errorClass = "...",
>       parameters = Map.empty,
>       context = ...)
> {code}
> at 
> https://github.com/apache/spark/blob/c4a0360daf546baa9cc970ef805f52c40f384fe3/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/parser/ExpressionParserSuite.scala#L200



--
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

Reply via email to