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

Method AssertStreamEnd

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

Source from the content-addressed store, hash-verified

4538 }
4539
4540 void AssertStreamEnd(struct ArrowArrayStream* c_stream) {
4541 struct ArrowArray c_array;
4542 ASSERT_EQ(0, c_stream->get_next(c_stream, &c_array));
4543
4544 ArrayExportGuard guard(&c_array);
4545 ASSERT_TRUE(ArrowArrayIsReleased(&c_array));
4546 }
4547
4548 void AssertStreamNext(struct ArrowArrayStream* c_stream, const RecordBatch& expected) {
4549 struct ArrowArray c_array;

Callers

nothing calls this directly

Calls 1

ArrowArrayIsReleasedFunction · 0.85

Tested by

no test coverage detected