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-48305][SQL] Add collation support for CurrentLike expressions #46613

Closed
wants to merge 3 commits into from

Conversation

uros-db
Copy link
Contributor

@uros-db uros-db commented May 16, 2024

What changes were proposed in this pull request?

Introduce collation awareness for CurrentLike expressions: current_database/current_schema, current_catalog, user/current_user/session_user.

Why are the changes needed?

Add collation support for CurrentLike expressions in Spark.

Does this PR introduce any user-facing change?

Yes, users should now be able to use collated strings within arguments for CurrentLike functions: current_database/current_schema, current_catalog, user/current_user/session_user.

How was this patch tested?

E2e sql tests.

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

No.

@github-actions github-actions bot added the SQL label May 16, 2024
@uros-db uros-db changed the title [WIP][SQL] Add collation support for CurrentLike expressions [WIP][SPARK-48305][SQL] Add collation support for CurrentLike expressions May 16, 2024
@uros-db uros-db changed the title [WIP][SPARK-48305][SQL] Add collation support for CurrentLike expressions [SPARK-48305][SQL] Add collation support for CurrentLike expressions May 16, 2024
@uros-db
Copy link
Contributor Author

uros-db commented May 16, 2024

@cloud-fan ready for review

@cloud-fan
Copy link
Contributor

thanks, merging to master!

@cloud-fan cloud-fan closed this in 6a17b79 May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants