aboutsummaryrefslogtreecommitdiff
path: root/mllib/src/test
diff options
context:
space:
mode:
authorCheng Lian <lian@databricks.com>2016-03-12 11:24:50 -0800
committerReynold Xin <rxin@databricks.com>2016-03-12 11:25:15 -0800
commit4eace4d384f0e12b4934019d8654b5e3886ddaef (patch)
tree3b7ff9e4fee0abcac163d7429e8efd4e6095e821 /mllib/src/test
parentba8c86d06f5968c1af4db8dd9a458005bc5f214c (diff)
downloadspark-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/src/test')
0 files changed, 0 insertions, 0 deletions