Skip to content

Conversation

@maryannxue
Copy link
Contributor

What changes were proposed in this pull request?

This PR removes the excessive exception wrapping in AQE so that error messages are less verbose and mostly consistent with non-aqe execution. Exceptions from stage materialization are now only wrapped with SparkException if there are multiple stage failures. Also, stage cancelling errors will not be included as part the exception thrown, but rather just be error logged.

Why are the changes needed?

This will make the AQE error reporting more readable and debuggable.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Updated existing tests.

@maryannxue
Copy link
Contributor Author

cc @cloud-fan @Ngone51

@maryannxue maryannxue changed the title [SPARK-31862] Remove exception wrapping in AQE [SPARK-31862][SQL] Remove exception wrapping in AQE May 28, 2020
@SparkQA
Copy link

SparkQA commented May 29, 2020

Test build #123249 has finished for PR 28668 at commit b0f2ad0.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@cloud-fan
Copy link
Contributor

yea, it's better to make the error behavior consistent between AQE and non-AQE. Thanks, merging to master/3.0!

@cloud-fan cloud-fan closed this in 45864fa May 29, 2020
cloud-fan pushed a commit that referenced this pull request May 29, 2020
### What changes were proposed in this pull request?

This PR removes the excessive exception wrapping in AQE so that error messages are less verbose and mostly consistent with non-aqe execution. Exceptions from stage materialization are now only wrapped with `SparkException` if there are multiple stage failures. Also, stage cancelling errors will not be included as part the exception thrown, but rather just be error logged.

### Why are the changes needed?

This will make the AQE error reporting more readable and debuggable.

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

No.

### How was this patch tested?

Updated existing tests.

Closes #28668 from maryannxue/spark-31862.

Authored-by: Maryann Xue <maryann.xue@gmail.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
(cherry picked from commit 45864fa)
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
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.

3 participants