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

Method test_export

c_glib/test/test-record-batch-reader.rb:43–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 end
42
43 def test_export
44 require_gi_bindings(3, 4, 8)
45 c_abi_array_stream = @reader.export
46 assert_equal(Arrow::Table.new(@schema, @record_batches),
47 Arrow::RecordBatchReader.import(c_abi_array_stream).read_all)
48 end
49
50 def test_schema
51 assert_equal(@schema, @reader.schema)

Callers

nothing calls this directly

Calls 2

newMethod · 0.45
importMethod · 0.45

Tested by

no test coverage detected