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-50875][SQL] Add RTRIM collations to TVF #49554

Closed

Conversation

stevomitric
Copy link
Contributor

@stevomitric stevomitric commented Jan 17, 2025

What changes were proposed in this pull request?

Added all RTRIM collations to TVF when using Collations generator.

Why are the changes needed?

Since RTRIM collation is enabled by default, we need to add it to the list.

Does this PR introduce any user-facing change?

Yes, using the collations function will include rtrim collations.

How was this patch tested?

Modified TVF collation tests.

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

No.

@github-actions github-actions bot added the SQL label Jan 17, 2025
@stevomitric
Copy link
Contributor Author

cc @stefankandic and @dejankrak-db to take a look.

@cloud-fan
Copy link
Contributor

let's fix the python test failure

@cloud-fan
Copy link
Contributor

thanks, merging to master/4.0!

@cloud-fan cloud-fan closed this in 5534b91 Jan 21, 2025
cloud-fan pushed a commit that referenced this pull request Jan 21, 2025
### What changes were proposed in this pull request?
Added all RTRIM collations to TVF when using `Collations` generator.

### Why are the changes needed?
Since RTRIM collation is enabled by default, we need to add it to the list.

### Does this PR introduce _any_ user-facing change?
Yes, using the `collations` function will include `rtrim` collations.

### How was this patch tested?
Modified TVF collation tests.

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

Closes #49554 from stevomitric/stevomitric/add-rtrim-to-list.

Authored-by: Stevo Mitric <[email protected]>
Signed-off-by: Wenchen Fan <[email protected]>
(cherry picked from commit 5534b91)
Signed-off-by: Wenchen Fan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants