Github user tdas commented on a diff in the pull request:
https://github.com/apache/spark/pull/20243#discussion_r161966696
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/continuous/ContinuousExecution.scala
---
@@ -69,7 +69,7 @@ class ContinuousExecution(
ContinuousExecutionRelation(source, extraReaderOptions,
output)(sparkSession)
})
case StreamingRelationV2(_, sourceName, _, _, _) =>
- throw new AnalysisException(
+ throw new UnsupportedOperationException(
--- End diff --
Why this change? An incorrect data source is not an operation.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]