realAaronWu commented on PR #592: URL: https://github.com/apache/paimon-cpp/pull/592#issuecomment-7106005970
I checked both Java paths. [Manifest compaction](https://github.com/apache/paimon/blob/6a9e258775f0e43431c48b8fb22469b1b02c8ca5/paimon-core/src/main/java/org/apache/paimon/table/sink/TableCommitImpl.java) can reduce fragmentation on a compacted snapshot. A reader pinned to an earlier snapshot still has its original manifests, and compaction does not enforce a query quota. The [append-only LIMIT path](https://github.com/apache/paimon/blob/6a9e258775f0e43431c48b8fb22469b1b02c8ca5/paimon-core/src/main/java/org/apache/paimon/operation/AppendOnlyFileStoreScan.java) batches manifest reads and preserves the merge path for later DELETEs. It can reduce work when enough live rows are found early. Full scans and scans whose matches arrive late still need admission checks. In C++, the existing LIMIT currently trims splits after planning. Could we keep the review focused on the smallest path that provides typed refusal, cancellation and draining for those scans? The controlled path uses the supplied executor and keeps one manifest task outstanding. -- 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]
