-
Notifications
You must be signed in to change notification settings - Fork 1.6k
feat(spark): Implement Spark string
function luhn_check
#16848
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
string
function luhn_check
Signed-off-by: Alan Tang <jmtangcs@gmail.com>
Signed-off-by: Alan Tang <jmtangcs@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @Standing-Man -- this looks good to me
@shehabgamin does this look good to you (at a high level)?
Signed-off-by: Alan Tang <jmtangcs@gmail.com>
Will review when I'm home in the next few hours! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Standing-Man it is LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done! Just some minor things and then this looks good to me!
Signed-off-by: Alan Tang <jmtangcs@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My apologies I didn't notice this during my first review. We need 1 test for array input.
Approving the PR as this is simple to add.
Well done!
Signed-off-by: Alan Tang <jmtangcs@gmail.com>
Appreciate the reviews, everyone! |
Nice teamwork! Thanks everyone |
✋ ✋ |
…6848) * feat(spark): Implement Spark luhn_check function Signed-off-by: Alan Tang <jmtangcs@gmail.com> * test(spark): add more tests Signed-off-by: Alan Tang <jmtangcs@gmail.com> * feat(spark): set the signature to be Utf8 type Signed-off-by: Alan Tang <jmtangcs@gmail.com> * chore: add more types for luhn_check function Signed-off-by: Alan Tang <jmtangcs@gmail.com> * test: add test for array input Signed-off-by: Alan Tang <jmtangcs@gmail.com> --------- Signed-off-by: Alan Tang <jmtangcs@gmail.com>
Which issue does this PR close?
datafusion-spark
Spark Compatible Functions #15914.string
functionluhn_check
#16612 andluhn_check
function #16580.Rationale for this change
What changes are included in this PR?
Implement Spark
luhn_check
functionAre these changes tested?
Yes
Are there any user-facing changes?
Yes