Skip to content

Conversation

@panbingkun
Copy link
Contributor

@panbingkun panbingkun commented Jun 12, 2022

What changes were proposed in this pull request?

Migrate the following errors in QueryExecutionErrors:

  • unsupportedSaveModeError -> UNSUPPORTED_SAVE_MODE

This is a backport of #36350.

Why are the changes needed?

Porting execution errors of unsupported saveMode to new error framework.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Add new UT.

@panbingkun
Copy link
Contributor Author

FYI old pr: #36676, i have closed it!

master branch pr: #36350
ping @MaxGekk

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@dongjoon-hyun
Copy link
Member

Thank you for updates.

@dongjoon-hyun
Copy link
Member

I guess we need @MaxGekk 's final sign-off.

@panbingkun
Copy link
Contributor Author

I guess we need @MaxGekk 's final sign-off.

OK,Thank you for review @dongjoon-hyun
ping @MaxGekk

@MaxGekk
Copy link
Member

MaxGekk commented Jun 13, 2022

@panbingkun Could you update PR's description and add "This is a backport of #36350".

Update core/src/main/resources/error/error-classes.json

Co-authored-by: Maxim Gekk <max.gekk@gmail.com>
@panbingkun
Copy link
Contributor Author

@panbingkun Could you update PR's description and add "This is a backport of #36350".

sure!

@MaxGekk
Copy link
Member

MaxGekk commented Jun 13, 2022

@panbingkun Could you fix the test failure, please:

QueryExecutionErrorsSuite.UNSUPPORTED_SAVE_MODE: unsupported null saveMode whether the path exists or not
org.scalatest.exceptions.TestFailedException: "... supported for: a no[n-]existent path." did not equal "... supported for: a no[t ]existent

@panbingkun
Copy link
Contributor Author

@panbingkun Could you fix the test failure, please:

QueryExecutionErrorsSuite.UNSUPPORTED_SAVE_MODE: unsupported null saveMode whether the path exists or not
org.scalatest.exceptions.TestFailedException: "... supported for: a no[n-]existent path." did not equal "... supported for: a no[t ]existent

Done @MaxGekk

@MaxGekk
Copy link
Member

MaxGekk commented Jun 14, 2022

+1, LGTM. Merging to 3.3.
Thank you, @panbingkun and @dongjoon-hyun for review.

MaxGekk pushed a commit that referenced this pull request Jun 14, 2022
…save mode

### What changes were proposed in this pull request?
Migrate the following errors in QueryExecutionErrors:

* unsupportedSaveModeError -> UNSUPPORTED_SAVE_MODE

This is a backport of #36350.

### Why are the changes needed?
Porting execution errors of unsupported saveMode to new error framework.

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

### How was this patch tested?
Add new UT.

Closes #36852 from panbingkun/branch-3.3-SPARK-38700-new.

Lead-authored-by: panbingkun <pbk1982@gmail.com>
Co-authored-by: panbingkun <84731559@qq.com>
Signed-off-by: Max Gekk <max.gekk@gmail.com>
@MaxGekk MaxGekk closed this Jun 14, 2022
@panbingkun panbingkun deleted the branch-3.3-SPARK-38700-new branch July 3, 2022 00:34
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.

4 participants