Skip to content

Conversation

@MaxGekk
Copy link
Member

@MaxGekk MaxGekk commented Sep 13, 2022

What changes were proposed in this pull request?

In the PR, I propose to change the SparkThrowable interface:

  1. Return a map of parameters names to their values from getMessageParameters()
  2. Remove getParameterNames() because the names can be retrieved from getMessageParameters().

Why are the changes needed?

To simplifies implementation and improve code maintenance.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

By running affected test suites:

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

@MaxGekk MaxGekk changed the title [WIP][SQL] Return a map from SparkThrowable.getMessageParameters [SPARK-40426][SQL] Return a map from SparkThrowable.getMessageParameters Sep 14, 2022
@MaxGekk MaxGekk marked this pull request as ready for review September 14, 2022 16:07
@MaxGekk
Copy link
Member Author

MaxGekk commented Sep 14, 2022

cc @srielau @anchovYu Could you review this PR, please.

@HyukjinKwon
Copy link
Member

Merged to master.

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.

6 participants