| 4469 | class TestArrayStreamExport : public BaseArrayStreamTest { |
| 4470 | public: |
| 4471 | void AssertStreamSchema(struct ArrowArrayStream* c_stream, const Schema& expected) { |
| 4472 | struct ArrowSchema c_schema; |
| 4473 | ASSERT_EQ(0, c_stream->get_schema(c_stream, &c_schema)); |
| 4474 | |
| 4475 | SchemaExportGuard schema_guard(&c_schema); |
| 4476 | ASSERT_FALSE(ArrowSchemaIsReleased(&c_schema)); |
| 4477 | ASSERT_OK_AND_ASSIGN(auto schema, ImportSchema(&c_schema)); |
| 4478 | AssertSchemaEqual(expected, *schema, /*check_metadata=*/true); |
| 4479 | } |
| 4480 | |
| 4481 | void AssertStreamEnd(struct ArrowArrayStream* c_stream) { |
| 4482 | struct ArrowArray c_array; |
nothing calls this directly
no test coverage detected