Skip to content

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 arithmetic 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 org.apache.spark.SparkThrowableSuite"
build/sbt "test:testOnly *ExpressionTypeCheckingSuite"
build/sbt "test:testOnly *ArithmeticExpressionSuite"

@github-actions github-actions bot added the SQL label Oct 11, 2022
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.

Waiting for CI success.

@MaxGekk
Copy link
Member

MaxGekk commented Oct 12, 2022

+1, LGTM. Merging to master.
Thank you, @lvshaokang.

@MaxGekk MaxGekk closed this in 831bcb0 Oct 12, 2022
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.

2 participants