Serge Rielau created SPARK-49931:
------------------------------------
Summary: 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
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]