Skip to content

Conversation

@amaliujia
Copy link
Contributor

What changes were proposed in this pull request?

#42130 moved AnalysisException to sql/api. So we can use AnalysisException for those errors that were moved into sql/api but changed to SparkException.

Why are the changes needed?

Restore to previous behavior.

Does this PR introduce any user-facing change?

No. This PR recovers the behaviors to the past which users should see AnalysisException upon many cases.

How was this patch tested?

Existing UT.

@amaliujia
Copy link
Contributor Author

@hvanhovell

@github-actions github-actions bot added the SQL label Jul 27, 2023
Copy link
Contributor

@hvanhovell hvanhovell left a comment

Choose a reason for hiding this comment

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

LGTM!

@hvanhovell
Copy link
Contributor

Merging this. Flaky streaming test.

hvanhovell pushed a commit that referenced this pull request Jul 29, 2023
… use AnalysisException

### What changes were proposed in this pull request?

#42130 moved AnalysisException to sql/api. So we can use AnalysisException for those errors that were moved into sql/api but changed to SparkException.

### Why are the changes needed?

Restore to previous behavior.

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

No. This PR recovers the behaviors to the past which users should see AnalysisException upon many cases.

### How was this patch tested?

Existing UT.

Closes #42190 from amaliujia/convert_back_errors.

Authored-by: Rui Wang <[email protected]>
Signed-off-by: Herman van Hovell <[email protected]>
(cherry picked from commit 3761b7d)
Signed-off-by: Herman van Hovell <[email protected]>
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