dotnet / dotnet/spark

[FEATURE REQUEST]: Expose JVM exceptions

Open
#472 12 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
2.1k
Forks
332
Avg merge
1d 20h
Merged PRs (30d)
9

Description

Currently an exception is only logged and then translated per the below.
```
[2020-04-03T00:31:33.1953860Z] [0ecc54d4f7e9] [Error] [JvmBridge] JVM method execution failed: Nonstatic method sql failed for class 435 when called with 1 arguments ([Index=1, Type=String, Value=select
NOTACOLUMN from tmp], )
[2020-04-03T00:31:33.1955104Z] [0ecc54d4f7e9] [Error] [JvmBridge] org.apache.spark.sql.AnalysisException: cannot resolve '`NOTACOLUMN`' given input columns: [tmp.Parameter]; line 1 pos 7;
'Project ['NOTACOLUMN]
+- SubqueryAlias `tmp`
+- Relation[Parameter#20315] parquet<...SNIP...>
```
Is it possible maybe throw an AggregateException with both exceptions or pass an InnerException containing the full original exception?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.