-
- Downloads
[SPARK-15580][SQL] Add ContinuousQueryInfo to make ContinuousQueryListener events serializable
## What changes were proposed in this pull request? This PR adds ContinuousQueryInfo to make ContinuousQueryListener events serializable in order to support writing events into the event log. ## How was this patch tested? Jenkins unit tests. Author: Shixiong Zhu <shixiong@databricks.com> Closes #13335 from zsxwing/query-info.
Showing
- sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/ContinuousQueryListenerBus.scala 7 additions, 20 deletions.../sql/execution/streaming/ContinuousQueryListenerBus.scala
- sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/StreamExecution.scala 16 additions, 5 deletions...pache/spark/sql/execution/streaming/StreamExecution.scala
- sql/core/src/main/scala/org/apache/spark/sql/streaming/ContinuousQueryInfo.scala 34 additions, 0 deletions.../org/apache/spark/sql/streaming/ContinuousQueryInfo.scala
- sql/core/src/main/scala/org/apache/spark/sql/streaming/ContinuousQueryListener.scala 26 additions, 8 deletions.../apache/spark/sql/streaming/ContinuousQueryListener.scala
- sql/core/src/main/scala/org/apache/spark/sql/streaming/SinkStatus.scala 3 additions, 3 deletions...ain/scala/org/apache/spark/sql/streaming/SinkStatus.scala
- sql/core/src/main/scala/org/apache/spark/sql/streaming/SourceStatus.scala 4 additions, 4 deletions...n/scala/org/apache/spark/sql/streaming/SourceStatus.scala
- sql/core/src/test/scala/org/apache/spark/sql/streaming/ContinuousQueryListenerSuite.scala 105 additions, 28 deletions...he/spark/sql/streaming/ContinuousQueryListenerSuite.scala
- sql/core/src/test/scala/org/apache/spark/sql/streaming/ContinuousQuerySuite.scala 8 additions, 8 deletions...org/apache/spark/sql/streaming/ContinuousQuerySuite.scala
Please register or sign in to comment