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

Method test_record_batch

c_glib/test/test-source-node.rb:48–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 end
47
48 def test_record_batch
49 numbers = build_int8_array([1, 2, 3, 4, 5])
50 strings = build_string_array(["a", "b", "a", "b", "a"])
51 record_batch = build_record_batch(number: numbers,
52 string: strings)
53 options = Arrow::SourceNodeOptions.new(record_batch)
54 assert_equal(build_table(number: numbers,
55 string: strings),
56 execute_plan(options))
57 end
58
59 def test_table
60 numbers = build_int8_array([1, 2, 3, 4, 5])

Callers

nothing calls this directly

Calls 2

build_record_batchFunction · 0.85
newMethod · 0.45

Tested by

no test coverage detected