gengliangwang commented on PR #59520:
URL: https://github.com/apache/spark/pull/59520#issuecomment-6862264834
@sarutak @HyukjinKwon @dongjoon-hyun @tdcmeehan @spark-test Could you take
another look before merge? I pushed 04b33fdb511 with three API contract
improvements:
- Clarified that streaming offsets are connector-defined progress
boundaries. For an offset storing the next row, `{"next":10}` to `{"next":13}`
reads rows 10, 11, and 12. The Rust docs, README, and C header now use
consistent wording.
- Kept `ReadLimit::MaxRows(u64)` and added validation of `1..=i64::MAX` in
both ABI directions, with tests for valid boundaries, invalid values, and
unchanged output on failure.
- Replaced `TaskContext::partition_id()` with
`ReaderContext::partition_index` and `WriterContext::partition_id`. The context
constructors now take the identifier explicitly. Examples and tests are
updated, including coverage of multiple scan partitions read by the same task.
The partition-context change adjusts the unpublished Rust API; C ABI layouts
and checkpoint serialization are unchanged.
Validation on Rust 1.85: all 90 workspace tests passed, including the C ABI
and layout tests. Clippy with `-D warnings`, formatting checks, and rustdoc
with `-D warnings` also passed.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]