Skip to content

Conversation

@mihailomilosevic2001
Copy link
Contributor

What changes were proposed in this pull request?

It was noticed that we return null for country and language for collations TVF when collation is UTF8_*, but when information is missing in ICU we return empty string.

Why are the changes needed?

Making behaviour consistent.

Does this PR introduce any user-facing change?

No, this is all in Spark 4.0, so addition of this TVF was not released yet.

How was this patch tested?

Existing test.

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

No.

@github-actions github-actions bot added the SQL label Nov 13, 2024
Copy link
Contributor

@cloud-fan cloud-fan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch!

@MaxGekk
Copy link
Member

MaxGekk commented Nov 13, 2024

+1, LGTM. Merging to master.
Thank you, @mihailom-db and @cloud-fan @dbatomic for review.

@MaxGekk MaxGekk changed the title [FOLLOW-UP][SPARK-49611][SQL] Make collations TVF consistent and return null on no result for country and language [SPARK-49611][SQL][FOLLOW-UP] Make collations TVF consistent and return null on no result for country and language Nov 13, 2024
@MaxGekk MaxGekk closed this in 558fc89 Nov 13, 2024
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.

4 participants