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

Method test_export

c_glib/test/test-boolean-array.rb:30–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 end
29
30 def test_export
31 require_gi_bindings(3, 4, 8)
32 array = build_boolean_array([true, false, nil])
33 success, c_abi_array, c_abi_schema = array.export
34 data_type = Arrow::DataType.import(c_abi_schema)
35 assert_equal([success, array],
36 [true, Arrow::Array.import(c_abi_array, data_type)])
37 end
38
39 def test_buffer
40 builder = Arrow::BooleanArrayBuilder.new

Callers

nothing calls this directly

Calls 1

importMethod · 0.45

Tested by

no test coverage detected