Skip to content
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

[SPARK-50704][SQL] Support more pushdown functions for MySQL connector #49335

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sunxiaoguang
Copy link

@sunxiaoguang sunxiaoguang commented Dec 30, 2024

What changes were proposed in this pull request?

This PR tries to implement more pushdown functions for MySQL connector.

ABS COALESCE GREATEST LEAST RAND LOG10 LOG2 LN EXP POWER SQRT SIN COS TAN COT ASIN ACOS ATAN
ATAN2 DEGREES RADIANS SIGN SUBSTRING UPPER LOWER SHA1 SHA2 MD5 CRC32 BIT_LENGTH CHAR_LENGTH CONCAT

Why are the changes needed?

There are Spark SQL functions having the same function signature and similar semantic in MySQL. This PR tries to support these SQL functions in pushdown and added integration tests to make sure it works for valid types.

Does this PR introduce any user-facing change?

'No'

How was this patch tested?

Integration tests added.

Was this patch authored or co-authored using generative AI tooling?

'No'

@HyukjinKwon
Copy link
Member

cc @beliefer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants