Skip to content

[SPARK-49632][SQL][FOLLOW-UP] Fix suggestion for to_date function#49290

Closed
mihailomilosevic2001 wants to merge 5 commits intoapache:masterfrom
mihailomilosevic2001:cannot-parse-timestamp-follow-up
Closed

[SPARK-49632][SQL][FOLLOW-UP] Fix suggestion for to_date function#49290
mihailomilosevic2001 wants to merge 5 commits intoapache:masterfrom
mihailomilosevic2001:cannot-parse-timestamp-follow-up

Conversation

@mihailomilosevic2001
Copy link
Contributor

What changes were proposed in this pull request?

Change of suggested function on failure from try_to_timestamp to try_to_date for to_date function.

Why are the changes needed?

In original PR #49227 we removed ANSI suggestion and left only a suggestion of try function to use. In case of to_date, use of try_to_date is more appropriate.

Does this PR introduce any user-facing change?

Yes

How was this patch tested?

Existing tests scope error message change.

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

No.

@github-actions github-actions bot added the SQL label Dec 25, 2024
@mihailomilosevic2001
Copy link
Contributor Author

@MaxGekk could you take a look at this follow-up?

@HyukjinKwon
Copy link
Member

Merged to master.

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.

3 participants