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-51380][SQL] Make sure JDBC dialect could check the supported functions by Introduce functionToSQL and aggregateFunctionToSQL #50143

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

Conversation

beliefer
Copy link
Contributor

@beliefer beliefer commented Mar 4, 2025

What changes were proposed in this pull request?

This PR proposes to make sure JDBC dialect could check the supported functions by Introduce functionToSQL and aggregateFunctionToSQL.

Why are the changes needed?

The original visitSQLFunction of JDBCSQLBuilder provides the check about the supported functions. But many subclass of
JDBCSQLBuilder overrides the visitSQLFunction and skips the check.
This PR introduces functionToSQL and aggregateFunctionToSQL in order to subclass to override.

Does this PR introduce any user-facing change?

'No'.

How was this patch tested?

GA.

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

'No'.

…unctions by Introduce functionToSQL and aggregateFunctionToSQL
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.

1 participant