MCPcopy Create free account
hub / github.com/apache/arrow / Roundtrip

Method Roundtrip

cpp/src/arrow/c/bridge_test.cc:4738–4745  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4736class TestArrayStreamRoundtrip : public BaseArrayStreamTest {
4737 public:
4738 void Roundtrip(std::shared_ptr<RecordBatchReader>* reader,
4739 struct ArrowArrayStream* c_stream) {
4740 ASSERT_OK(ExportRecordBatchReader(*reader, c_stream));
4741 ASSERT_FALSE(ArrowArrayStreamIsReleased(c_stream));
4742
4743 ASSERT_OK_AND_ASSIGN(auto got_reader, ImportRecordBatchReader(c_stream));
4744 *reader = std::move(got_reader);
4745 }
4746
4747 void Roundtrip(
4748 std::shared_ptr<RecordBatchReader> reader,

Callers

nothing calls this directly

Calls 3

ExportChunkedArrayFunction · 0.85
ExportRecordBatchReaderFunction · 0.70

Tested by

no test coverage detected