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/25 19:52:00 UTC

[jira] [Updated] (SPARK-42191) Support udf luhn_check

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

Vinod KC updated SPARK-42191:
-----------------------------
    Description: 
Support UDF to check if a given number string is a valid Luhn number. It shall return true if the number string is a valid Luhn number, and false otherwise.

This checksum function is widely applied to credit card numbers and government identification numbers to distinguish valid numbers from mistyped, incorrect numbers

Ref : [trino|https://trino.io/docs/current/functions/string.html]
         [Algorithm|https://en.wikipedia.org/wiki/Luhn_algorithm]

  was:
Support UDF to check if a given number string is a valid Luhn number. It shall return true if the number string is a valid Luhn number, and false otherwise.

This checksum function is widely applied to credit card numbers and government identification numbers to distinguish valid numbers from mistyped, incorrect numbers

Ref : [trino|https://trino.io/docs/current/functions/string.html]


> Support udf luhn_check 
> -----------------------
>
>                 Key: SPARK-42191
>                 URL: https://issues.apache.org/jira/browse/SPARK-42191
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: Vinod KC
>            Priority: Minor
>
> Support UDF to check if a given number string is a valid Luhn number. It shall return true if the number string is a valid Luhn number, and false otherwise.
> This checksum function is widely applied to credit card numbers and government identification numbers to distinguish valid numbers from mistyped, incorrect numbers
> Ref : [trino|https://trino.io/docs/current/functions/string.html]
>          [Algorithm|https://en.wikipedia.org/wiki/Luhn_algorithm]



--
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