bkietz commented on code in PR #568:
URL: https://github.com/apache/arrow-nanoarrow/pull/568#discussion_r1693597212
##########
src/nanoarrow/ipc/decoder_test.cc:
##########
@@ -749,6 +749,53 @@ TEST_P(ArrowSchemaParameterizedTestFixture,
NanoarrowIpcArrowSchemaRoundtrip) {
ArrowIpcDecoderReset(&decoder);
}
+std::string ArrowSchemaToString(const struct ArrowSchema* schema) {
+ std::string out;
+ size_t n = 1024;
+ while (out.size() < n) {
+ out.resize(n);
+ n = ArrowSchemaToString(schema, out.data(), out.size(),
/*recursive=*/true);
+ }
+ return out;
+}
Review Comment:
For now, I'll just add the metadata to the string.
--
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]