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

[jira] [Updated] (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 ]

Vinod KC updated SPARK-42070:
-----------------------------
    Description: 
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

  was:
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.

 


> 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
>            Priority: Minor
>
> 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