manuzhang opened a new pull request, #1133: URL: https://github.com/apache/iceberg-cpp/pull/1133
Manifest-backed metadata tables need a fallible row source that can be consumed lazily. Add `MakeMetadataBatchStream` overloads for `Stream<Row>` and vectors, with the per-row callback retained as its concrete type. Validate schema, source, callback, and batch size before exporting an Arrow C stream. Source/append failures and exhaustion are terminal, and no row builder is allocated after exhaustion. Focused tests cover invalid inputs, several lazy batches, repeated end-of-stream calls, and sticky append failures. Extracted from #1120. Builds directly on main and has no dependency on the other metadata-table PRs. Validation: 58 metadata tests and C++20 compatibility passed in a standalone static Debug build. Pre-commit and clang-tidy 22.1.8 passed. The full split composition passed 144 tests with one expected format-version skip. -- 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]
