realAaronWu opened a new pull request, #592: URL: https://github.com/apache/paimon-cpp/pull/592
### Purpose Refs #435. Add opt-in `PlanningLimits` and cooperative `CancelPlanning()` for managed append-only batch planning. Admit manifest list and entry rows before materializing their Paimon objects, and admit splits conservatively before packing each bucket. The controlled path has at most one outstanding manifest task. Cancellation stops further admission and waits for accepted work. Existing scan and file-list paths drain accepted work on failure while preserving the original result. The limits count Paimon planning objects. Table discovery, decoder buffers, variable-length field bytes and actual container capacity are outside that count. The existing Avro dependency is used. This draft is for validation of the public scan entry points and installed C++17 SDK. ### Tests Exercise the public factory with each capacity refusal, cancellation before planning, cancellation during executor handoff and blocked I/O, empty plans, and a fresh scan after cancellation. Cover unsupported file predicates, manifest formats and the authorization wrapper. Exercise accepted-task draining on planning and file-list failures, including nested single-worker execution. ### API and Format Adds an optional factory overload and a nonvirtual cancellation method. Existing factory and virtual signatures are retained. Storage format is unchanged. ### Documentation The public header describes the supported scan profile, what the counts cover and the cancellation lifetime contract. ### Generative AI tooling Generated-by: OpenAI Codex (GPT-6) -- 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]
