Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-47179][SQL] Improve error message from SparkThrowableSuite for…
… better debuggability ### What changes were proposed in this pull request? This PR proposes to improve error message from SparkThrowableSuite for better debuggability ### Why are the changes needed? The current error message is not very actionable for developer who need regenerating the error class documentation. ### Does this PR introduce _any_ user-facing change? No API change, but the error message is changed: **Before** ``` The error class document is not up to date. Please regenerate it. ``` **After** ``` he error class document is not up to date. Please regenerate it by running `SPARK_GENERATE_GOLDEN_FILES=1 build/sbt "core/testOnly *SparkThrowableSuite -- -t \"Error classes match with document\""` ``` ### How was this patch tested? The existing CI should pass. ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#45273 from itholic/improve_error_suite_debuggability. Authored-by: Haejoon Lee <[email protected]> Signed-off-by: Max Gekk <[email protected]>
- Loading branch information