You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/04/06 23:59:30 UTC

[GitHub] [arrow] niyue commented on a diff in pull request #12812: ARROW-16131 [C++] support saving and retrieving custom metadata in batches for IPC file

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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org