Skip to content

Conversation

@yew1eb
Copy link
Contributor

@yew1eb yew1eb commented Nov 29, 2025

Which issue does this PR close?

Closes #1674 .

Rationale for this change

Upper was incorrectly wired to the Lower implementation in NativeConverters, causing lowercase output. Correct wiring restores expected uppercase behavior.

What changes are included in this PR?

Are there any user-facing changes?

Yes. UPPER(...) now returns uppercase as expected.

How was this patch tested?

unit tests.

@yew1eb yew1eb changed the title [AURON #1674] Fix: route Upper to Spark_StringUpper and add tests [AURON #1674] Fix: route Upper to Spark_StringUpper Nov 29, 2025
case e: Upper
if sparkAuronConfig.getBoolean(SparkAuronConfiguration.CASE_CONVERT_FUNCTIONS_ENABLE) =>
buildExtScalarFunction("Spark_StringLower", e.children, e.dataType)
buildExtScalarFunction("Spark_StringUpper", e.children, e.dataType)
Copy link
Contributor

Choose a reason for hiding this comment

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

caused by #1614

@cxzl25 cxzl25 merged commit 2696f08 into apache:master Dec 1, 2025
98 checks passed
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.

Upper function incorrectly mapped to Lower implementation

3 participants