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

Method test_record_batches

c_glib/test/test-table.rb:78–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 end
77
78 def test_record_batches
79 require_gi_bindings(3, 3, 1)
80 record_batches = [
81 build_record_batch({
82 "visible" => build_boolean_array([true]),
83 "valid" => build_boolean_array([false])
84 }),
85 build_record_batch({
86 "visible" => build_boolean_array([false]),
87 "valid" => build_boolean_array([true])
88 }),
89 ]
90 table = Arrow::Table.new(@schema, record_batches)
91
92 assert_equal([
93 ["visible", [true, false]],
94 ["valid", [false, true]],
95 ],
96 dump_table(table))
97 end
98 end
99
100 sub_test_case("instance methods") do

Callers

nothing calls this directly

Calls 2

build_record_batchFunction · 0.85
newMethod · 0.45

Tested by

no test coverage detected