You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2022/04/20 21:15:00 UTC

[jira] [Commented] (SPARK-38972) [SQL] Support style for error message parameters

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

Apache Spark commented on SPARK-38972:
--------------------------------------

User 'srielau' has created a pull request for this issue:
https://github.com/apache/spark/pull/36289

> [SQL] Support <paramName> style for error message parameters
> ------------------------------------------------------------
>
>                 Key: SPARK-38972
>                 URL: https://issues.apache.org/jira/browse/SPARK-38972
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.3.0
>            Reporter: Serge Rielau
>            Priority: Minor
>
> In preparation of scraping error messages and turn them into docs we want to name the parameters used in error messages.
> E.g
> {quote}{{"CANNOT_CAST_DATATYPE" : {}}
> {{"message" : [ "Cannot cast <sourceType> to <targetType>." ],}}
> {{"sqlState" : "22005"}}{quote}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org