[
https://issues.apache.org/jira/browse/SPARK-49931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17888734#comment-17888734
]
Daniel commented on SPARK-49931:
--------------------------------
Changing this in the code should not comprise a breaking change because it
would convert queries that currently return errors today to instead completing
successfully.
> Named parameter invocation does not obey case--in-sensitivity rules for
> identifiers
> -----------------------------------------------------------------------------------
>
> Key: SPARK-49931
> URL: https://issues.apache.org/jira/browse/SPARK-49931
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 3.4.0
> Reporter: Serge Rielau
> Priority: Major
> Fix For: 4.0.0
>
>
> The following should work as long as identifiers are case-insensitive (which
> is the default):
> {{SELECT mask('AaBb123-&^ % 서울 Ä', lowerchar => 'z', otherchar => 'X');}}
> Returns this error:
> {quote}[[UNRECOGNIZED_PARAMETER_NAME|https://docs.databricks.com/error-messages/error-classes.html#unrecognized_parameter_name]]
> Cannot invoke function `mask` because the function call included a named
> argument reference for the argument named `lowerchar`, but this function does
> not include any signature containing an argument with this name. Did you mean
> one of the following? [`lowerChar` `otherChar` `upperChar`]. SQLSTATE: 4274K
>
> {quote}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]