aokolnychyi opened a new issue #178: Make Iceberg tables as sinks for Spark 
structured streaming
URL: https://github.com/apache/incubator-iceberg/issues/178
 
 
   Users should be able to use Iceberg tables as sinks for structured 
streaming. 
   
   Spark provides `queryId` and `epochId` to all sinks, which must ensure that 
all writes are idempotent. Spark might try to commit the same batch multiple 
times. So, we need to know the latest committed `epochId` for every query. One 
way to do so is by persisting `queryId` and `epochId` in the snapshot summary. 
On writes, we can simply iterate through the snapshots and check the latest 
committed `epochId` for a given query to make writes idempotent.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to