Github user zsxwing commented on a diff in the pull request:
https://github.com/apache/spark/pull/16322#discussion_r93296609
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/StreamExecution.scala
---
@@ -282,7 +289,7 @@ class StreamExecution(
updateStatusMessage("Stopped")
case e: Throwable =>
streamDeathCause = new StreamingQueryException(
- this,
+ toDebugString(includeLogicalPlan = logicalPlanInitilized),
s"Query $prettyIdString terminated with exception:
${e.getMessage}",
e,
committedOffsets.toOffsetSeq(sources,
offsetSeqMetadata).toString,
--- End diff --
Right. `StreamingQueryException` is a public API. I think it's better to
not break it considering 2.1.0 just passed.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]