You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "jackylee-ch (via GitHub)" <gi...@apache.org> on 2026/10/05 11:56:54 UTC
[PR] feat(datafusion): support the rollback_to_watermark procedure [paimon-rust]
jackylee-ch opened a new pull request, #1040:
URL: https://github.com/apache/paimon-rust/pull/1040
Adds the `rollback_to_watermark` CALL procedure to the DataFusion integration, mirroring Flink's `RollbackToWatermarkProcedure`:
```
CALL sys.rollback_to_watermark(table => 'db.t', watermark => 1700000000000)
```
It rolls the table back to the latest snapshot whose event-time watermark is at or before the given value, discarding newer ones. This completes the rollback family next to `rollback_to` (snapshot/tag) and `rollback_to_timestamp` (commit time); watermark rollback targets event time rather than wall-clock commit time.
The procedure needs `SnapshotManager::earlier_or_equal_watermark`, the mirror of the existing `later_or_equal_watermark`, added here for parity with Java `SnapshotManager.earlierOrEqualWatermark`.
Verified with new `earlier_or_equal_watermark` unit tests and a procedure test; `fmt` and `clippy --all-targets -D warnings` clean.
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(datafusion): support the rollback_to_watermark procedure [paimon-rust]
Posted by "jackylee-ch (via GitHub)" <gi...@apache.org>.
jackylee-ch closed pull request #1040: feat(datafusion): support the rollback_to_watermark procedure
URL: https://github.com/apache/paimon-rust/pull/1040
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(datafusion): support the rollback_to_watermark procedure [paimon-rust]
Posted by "jackylee-ch (via GitHub)" <gi...@apache.org>.
jackylee-ch commented on PR #1040:
URL: https://github.com/apache/paimon-rust/pull/1040#issuecomment-5995205652
Withdrawing this PR. It mirrors the sibling rollback procedures but has no requesting issue or demonstrated user-facing use case, so I'd rather not add review load for a speculative addition. If a concrete need surfaces I'll open an issue first. Thanks for the time spent here.
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org