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

Method AssertStreamEnd

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

Source from the content-addressed store, hash-verified

4546 }
4547
4548 void AssertStreamEnd(struct ArrowArrayStream* c_stream) {
4549 struct ArrowArray c_array;
4550 ASSERT_EQ(0, c_stream->get_next(c_stream, &c_array));
4551
4552 ArrayExportGuard guard(&c_array);
4553 ASSERT_TRUE(ArrowArrayIsReleased(&c_array));
4554 }
4555
4556 void AssertStreamNext(struct ArrowArrayStream* c_stream, const RecordBatch& expected) {
4557 struct ArrowArray c_array;

Callers

nothing calls this directly

Calls 1

ArrowArrayIsReleasedFunction · 0.85

Tested by

no test coverage detected