Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-45392][SQL][FOLLOWUP] Restore the original exception from data…
… source ### What changes were proposed in this pull request? This is a followup of #43193 to fix a behavior change. `Class.getDeclaredConstructor().newInstance()` will wrap the exception with `InvocationTargetException`, and this PR unwraps it to still throw the original exception from the data source ### Why are the changes needed? restore a behavior change ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? new test ### Was this patch authored or co-authored using generative AI tooling? no Closes #43446 from cloud-fan/follow. Authored-by: Wenchen Fan <wenchen@databricks.com> Signed-off-by: yangjie01 <yangjie01@baidu.com>
- Loading branch information