Github user jose-torres commented on a diff in the pull request:
https://github.com/apache/spark/pull/20369#discussion_r163620226
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/WriteToDataSourceV2.scala
---
@@ -62,7 +62,7 @@ case class WriteToDataSourceV2Exec(writer:
DataSourceV2Writer, query: SparkPlan)
try {
val runTask = writer match {
- case w: ContinuousWriter =>
+ case w: StreamWriter =>
--- End diff --
No - the writer will be wrapped in a MicroBatchWriter which doesn't match
StreamWriter. I agree this is a bit unclear and would welcome suggestions on
how to refactor.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]