niyue commented on code in PR #12812:
URL: https://github.com/apache/arrow/pull/12812#discussion_r844528644
##########
cpp/src/arrow/ipc/test_common.cc:
##########
@@ -275,6 +275,20 @@ Status MakeIntRecordBatch(std::shared_ptr<RecordBatch>*
out) {
return MakeIntBatchSized(10, out);
}
+Status MakeIntBatchWithMetadata(std::shared_ptr<KeyValueMetadata>
key_value_metadata,
+ std::shared_ptr<RecordBatch>* out) {
Review Comment:
I add a new test utility function to generate a random int batch with the
provided metadata key value pairs.
--
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]