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

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

    [ https://issues.apache.org/jira/browse/SPARK-42191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17680776#comment-17680776 ] 

Apache Spark commented on SPARK-42191:
--------------------------------------

User 'vinodkc' has created a pull request for this issue:
https://github.com/apache/spark/pull/39747

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



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