rdblue commented on code in PR #8203:
URL: https://github.com/apache/iceberg/pull/8203#discussion_r1313187366
##########
docs/spark-structured-streaming.md:
##########
@@ -53,32 +50,36 @@ Iceberg only supports reading data from append snapshots.
Overwrite snapshots ca
To write values from streaming query to Iceberg table, use `DataStreamWriter`:
```scala
-val tableIdentifier: String = ...
data.writeStream
.format("iceberg")
.outputMode("append")
.trigger(Trigger.ProcessingTime(1, TimeUnit.MINUTES))
- .option("path", tableIdentifier)
.option("checkpointLocation", checkpointPath)
- .start()
+ .toTable("database.table_name")
Review Comment:
Which versions of Flink does this work for? Is it new and that's why we
didn't show it before? May want a note about compatibility if that's the case.
--
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]