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-40357][SQL] Migrate window type check failures onto error classes #37986

Closed
wants to merge 7 commits into from

Conversation

lvshaokang
Copy link
Contributor

What changes were proposed in this pull request?

In the PR, I propose to use error classes in the case of type check failure in window expressions.

Why are the changes needed?

Migration onto error classes unifies Spark SQL error messages.

Does this PR introduce any user-facing change?

Yes. The PR changes user-facing error messages.

How was this patch tested?

build/sbt "sql/testOnly *SQLQueryTestSuite"
build/sbt "test:testOnly *Window*Suite"

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@lvshaokang
Copy link
Contributor Author

@MaxGekk Thanks for you review. I'm already addressing it.

@lvshaokang
Copy link
Contributor Author

@MaxGekk I have addressed, please take a look, thk!

Copy link
Member

@MaxGekk MaxGekk left a comment

Choose a reason for hiding this comment

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

LGTM except of a few comments.

@MaxGekk
Copy link
Member

MaxGekk commented Sep 26, 2022

The failures in YarnClusterSuite are not related to the changes.
+1, LGTM. Merging to master.
Thank you, @lvshaokang.

@MaxGekk MaxGekk closed this in 7230f59 Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants