You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gengliang Wang (Jira)" <ji...@apache.org> on 2023/01/20 06:41:00 UTC

[jira] [Resolved] (SPARK-42070) Change the default value of argument of Mask udf from -1 to NULL

     [ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org