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-41574][SQL] Update _LEGACY_ERROR_TEMP_2009 as INTERNAL_ERROR. #39389

Closed
wants to merge 12 commits into from

Conversation

itholic
Copy link
Contributor

@itholic itholic commented Jan 4, 2023

What changes were proposed in this pull request?

This PR proposes to update _LEGACY_ERROR_TEMP_2136 as INTERNAL_ERROR.

Why are the changes needed?

We should turn error class into INTERNAL_ERROR when it's not triggered by user space.

Does this PR introduce any user-facing change?

No

How was this patch tested?

./build/sbt "sql/testOnly org.apache.spark.sql.SQLQueryTestSuite*

@itholic itholic marked this pull request as ready for review January 5, 2023 02:38
messageParameters = Map.empty)
def dataTypeOperationUnsupportedError(): Throwable = {
SparkException.internalError(
s"""Operation dataType is not supported""")
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
s"""Operation dataType is not supported""")
"The operation `dataType` is not supported.")

Copy link
Member

Choose a reason for hiding this comment

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

Could you apply this, please.

Copy link
Contributor Author

@itholic itholic Jan 11, 2023

Choose a reason for hiding this comment

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

Oh... didn't recognize that it's overwritten. 🙏

Just applied the change.

…xecutionErrors.scala

Co-authored-by: Maxim Gekk <max.gekk@gmail.com>
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.

Please, change PR's title and description to match your actual changes.

@itholic itholic changed the title [SPARK-41574][SQL] Assign name to _LEGACY_ERROR_TEMP_2009 [SPARK-41574][SQL] Update _LEGACY_ERROR_TEMP_2009 as INTERNAL_ERROR. Jan 9, 2023
@cloud-fan
Copy link
Contributor

thanks, merging to master!

@cloud-fan cloud-fan closed this in 62ca764 Jan 18, 2023
@itholic itholic deleted the SPARK-41574 branch April 22, 2023 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants