diff options
author | Cheng Lian <lian@databricks.com> | 2016-03-12 11:24:50 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-03-12 11:25:15 -0800 |
commit | 4eace4d384f0e12b4934019d8654b5e3886ddaef (patch) | |
tree | 3b7ff9e4fee0abcac163d7429e8efd4e6095e821 /mllib | |
parent | ba8c86d06f5968c1af4db8dd9a458005bc5f214c (diff) | |
download | spark-4eace4d384f0e12b4934019d8654b5e3886ddaef.tar.gz spark-4eace4d384f0e12b4934019d8654b5e3886ddaef.tar.bz2 spark-4eace4d384f0e12b4934019d8654b5e3886ddaef.zip |
[SPARK-13828][SQL] Bring back stack trace of AnalysisException thrown from QueryExecution.assertAnalyzed
PR #11443 added an extra `plan: Option[LogicalPlan]` argument to `AnalysisException` and attached partially analyzed plan to thrown `AnalysisException` in `QueryExecution.assertAnalyzed()`. However, the original stack trace wasn't properly inherited. This PR fixes this issue by inheriting the stack trace.
A test case is added to verify that the first entry of `AnalysisException` stack trace isn't from `QueryExecution`.
Author: Cheng Lian <lian@databricks.com>
Closes #11677 from liancheng/analysis-exception-stacktrace.
Diffstat (limited to 'mllib')
0 files changed, 0 insertions, 0 deletions