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

Reply via email to