ifndef-SleePy commented on PR #8671: URL: https://github.com/apache/paimon/pull/8671#issuecomment-5199861717
Furthermore, the complexity of the current implementation comes from trying to support batch and streaming at the same time, and the fact that the data interaction and failover handling in coordinator commit is more complex than in operator commit. * In batch and streaming-without-checkpoint, the commit should happen directly on end input, since there is no checkpoint * in the streaming case, committing on checkpoint completion is more reasonable PIP-30 is meant to solve the region failover problem in the streaming case, so we could discuss whether it's necessary to support batch and streaming-without-checkpoint at all. * Introducing a coordinator in batch mode doesn't seem to bring any benefit — batch data can be persisted at shuffle boundaries, so there is no region failover problem. * And streaming-without-checkpoint looks like a niche scenario that isn't worth the added complexity. -- 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]
