Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-47313][SQL] Added scala.MatchError handling inside QueryExecut…
…ion.toInternalError ### What changes were proposed in this pull request? Created `isInternalError` function that marks `java.lang.NullPointerException`, `java.lang.AssertionError` and newly added `scala.MatchError` as internal errors. ### Why are the changes needed? Additional error coverage and code refactoring. ### Does this PR introduce _any_ user-facing change? No ### Was this patch authored or co-authored using generative AI tooling? No Closes apache#45438 from stevomitric/stevomitric/match-error-handling. Authored-by: Stevo Mitric <stevo.mitric@databricks.com> Signed-off-by: Max Gekk <max.gekk@gmail.com>
- Loading branch information