hvanhovell commented on code in PR #40783:
URL: https://github.com/apache/spark/pull/40783#discussion_r1168994299
##########
connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/Dataset.scala:
##########
@@ -2935,6 +2936,16 @@ class Dataset[T] private[sql] (
new DataFrameWriterV2[T](table, this)
}
+ /**
+ * Interface for saving the content of the streaming Dataset out into
external storage.
+ *
+ * @group basic
+ * @since 3.5.0
+ */
+ def writeStream: DataStreamWriter[T] = {
+ new DataStreamWriter[T](this)
Review Comment:
Does the serverside validate this? If so, we don't have to add it here.
Please note that `isStreaming` requires an RPC, which can be expensive.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]