delta
delta copied to clipboard
[Spark] Set active txn during write and ctas commands
Which Delta project/connector is this regarding?
- [x] Spark
- [ ] Standalone
- [ ] Flink
- [ ] Kernel
- [ ] Other (fill in here)
Description
Make WRITE commands call OptimisticTransaction.withActive to set as active the transaction the transaction that is created by startTxnForTableCreation().
How was this patch tested?
Existing tests.
Does this PR introduce any user-facing changes?
No