pgrandjean
pgrandjean

Reputation: 766

How to override txnVersion in Spark?

Following the instructions for idempotency in Idempotent table writes in foreachBatch, I set the txnVersion and txnApp options. It works as intended. However, those options keep their values even after foreachBatch ends.

How to override txnVersion and txnApp after foreachBatch ends (meaning no new data to write)?

Upvotes: 0

Views: 21

Answers (0)

Related Questions