Skip to content

[SPARK-51958][CORE][SQL][TESTS] Replace hardcoded icu version with c.ibm.icu.util.VersionInfo.ICU_VERSION it tests#50764

Closed
LuciferYang wants to merge 2 commits intoapache:masterfrom
LuciferYang:CollationFactorySuite-version
Closed

[SPARK-51958][CORE][SQL][TESTS] Replace hardcoded icu version with c.ibm.icu.util.VersionInfo.ICU_VERSION it tests#50764
LuciferYang wants to merge 2 commits intoapache:masterfrom
LuciferYang:CollationFactorySuite-version

Conversation

@LuciferYang
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

This pr replace hardcoded icu version with com.ibm.icu.util.VersionInfo.ICU_VERSION in CollationFactorySuite and CollationSuite.

Why are the changes needed?

Avoid manually modifying hardcoded version in tests when upgrading the ICU.

Does this PR introduce any user-facing change?

No

How was this patch tested?

  • Pass GitHub Acitons

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

No

@github-actions github-actions Bot added the SQL label Apr 30, 2025
@LuciferYang LuciferYang changed the title [SPARK-51958][CORE][SQL][TESTS] Replace hardcoded icu version with com.ibm.icu.util.VersionInfo.ICU_VERSION it tests [SPARK-51958][CORE][SQL][TESTS] Replace hardcoded icu version with c.ibm.icu.util.VersionInfo.ICU_VERSION it tests Apr 30, 2025
Copy link
Copy Markdown
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM. Thank you, @LuciferYang .

@LuciferYang
Copy link
Copy Markdown
Contributor Author

Thanks @dongjoon-hyun @HyukjinKwon and @zhengruifeng

@LuciferYang LuciferYang deleted the CollationFactorySuite-version branch May 1, 2025 13:38
yhuang-db pushed a commit to yhuang-db/spark that referenced this pull request Jun 9, 2025
….ibm.icu.util.VersionInfo.ICU_VERSION` it tests

### What changes were proposed in this pull request?
This pr replace hardcoded icu version with `com.ibm.icu.util.VersionInfo.ICU_VERSION` in `CollationFactorySuite` and `CollationSuite`.

### Why are the changes needed?
Avoid manually modifying hardcoded version in tests when upgrading the ICU.

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
- Pass GitHub Acitons

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

Closes apache#50764 from LuciferYang/CollationFactorySuite-version.

Authored-by: yangjie01 <yangjie01@baidu.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
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