hudi-bot opened a new issue, #16198:
URL: https://github.com/apache/hudi/issues/16198
Transaction Manager should be database timeline-aware and return a
transaction instance when a transaction is started, which can be used with
dataframe writes as below.
{code:java}
val transaction = HoodieTransactionManager.beginTransaction()
df1.write.format("hudi").withTransaction(transaction).options(opts1).save(basePath1)
df2.write.format("hudi").withTransaction(transaction).options(opts2).save(basePath2)
// All success, go ahead and commit or finish rollback (ROLLED_BACK state on
timeline is written in that case)
transaction.commit() {code}
## JIRA info
- Link: https://issues.apache.org/jira/browse/HUDI-6748
- Type: Task
- Epic: https://issues.apache.org/jira/browse/HUDI-6709
- Fix version(s):
- 1.1.0
--
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]