Vinod KC created SPARK-42191:
--------------------------------

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


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]



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