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

Method test_chunked_array

c_glib/test/test-take.rb:42–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 end
41
42 def test_chunked_array
43 taken_chunks = [
44 build_int16_array([0, 1]),
45 build_int16_array([2])
46 ]
47 taken_chunked_array = Arrow::ChunkedArray.new(taken_chunks)
48 indices_chunks = [
49 build_int16_array([1, 0]),
50 build_int16_array([2])
51 ]
52 indices = Arrow::ChunkedArray.new(indices_chunks)
53 assert_equal(taken_chunked_array,
54 build_int16_array([1, 0, 2]).take_chunked_array(indices))
55 end
56 end
57
58 sub_test_case("Table") do

Callers

nothing calls this directly

Calls 1

newMethod · 0.45

Tested by

no test coverage detected