[ 
https://issues.apache.org/jira/browse/SPARK-42070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gengliang Wang resolved SPARK-42070.
------------------------------------
    Fix Version/s: 3.4.0
       Resolution: Fixed

Issue resolved by pull request 39577
[https://github.com/apache/spark/pull/39577]

> Change the default value of argument of Mask udf from -1 to NULL
> ----------------------------------------------------------------
>
>                 Key: SPARK-42070
>                 URL: https://issues.apache.org/jira/browse/SPARK-42070
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: Vinod KC
>            Assignee: Vinod KC
>            Priority: Minor
>             Fix For: 3.4.0
>
>
> In the udf 'mask', using -1 as ignore parameter in String type argument is 
> not a standard way, hence, it is better to change the value of ignore 
> argument from -1 to NULL.
> Note: SPARK-40687 , has recently implemented udf *mask* , which uses -1 as 
> the default argument to ignore the masking option, As no Spark version 
> release has occurred since then, this new change will not cause backward 
> compatibility issues



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to