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-47646][SQL][FOLLOWUP][3.4] Replace non-existing try_to_number function with TryToNumber #45785

Closed
wants to merge 1 commit into from

Conversation

viirya
Copy link
Member

@viirya viirya commented Mar 31, 2024

What changes were proposed in this pull request?

This patch fixes broken CI by replacing non-existing try_to_number function in branch-3.4.

Why are the changes needed?

#45771 backported a test to StringFunctionsSuite in branch-3.4 but it uses try_to_number which is added since Spark 3.5.
So this patch fixes the broken CI: https://github.com/apache/spark/actions/runs/8494692184/job/23270175100

Does this PR introduce any user-facing change?

No

How was this patch tested?

Unit test

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

No

@github-actions github-actions bot added the SQL label Mar 31, 2024
@viirya
Copy link
Member Author

viirya commented Mar 31, 2024

cc @HyukjinKwon @dongjoon-hyun

@viirya
Copy link
Member Author

viirya commented Mar 31, 2024

cc @sunchao

Copy link
Member

@sunchao sunchao left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
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!

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-47646][SQL][FOLLOWUP] Replace non-existing try_to_number function with TryToNumber [SPARK-47646][SQL][FOLLOWUP][3.4] Replace non-existing try_to_number function with TryToNumber Mar 31, 2024
dongjoon-hyun pushed a commit that referenced this pull request Mar 31, 2024
…function with TryToNumber

### What changes were proposed in this pull request?

This patch fixes broken CI by replacing non-existing `try_to_number` function in branch-3.4.

### Why are the changes needed?

#45771 backported a test to `StringFunctionsSuite` in branch-3.4 but it uses `try_to_number` which is added since Spark 3.5.
So this patch fixes the broken CI: https://github.com/apache/spark/actions/runs/8494692184/job/23270175100

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

No

### How was this patch tested?

Unit test

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

No

Closes #45785 from viirya/fix.

Authored-by: Liang-Chi Hsieh <viirya@gmail.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
@dongjoon-hyun
Copy link
Member

Merged to branch-3.4.

@dongjoon-hyun
Copy link
Member

cc @HyukjinKwon , @cloud-fan , @bersprockets from #45771

@viirya
Copy link
Member Author

viirya commented Mar 31, 2024

Thank you @sunchao @dongjoon-hyun

@HyukjinKwon
Copy link
Member

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants