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

Method test_with_options

c_glib/test/test-table.rb:198–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196 end
197
198 def test_with_options
199 options = Arrow::TableConcatenateOptions.new
200 options.unify_schemas = true
201 table = build_table("a" => build_int32_array([1, nil, 3]),
202 "b" => build_int32_array([10, nil, 30]),
203 "c" => build_int32_array([nil, 200, nil]))
204 table1 = build_table("a" => build_int32_array([1]),
205 "b" => build_int32_array([10]))
206 table2 = build_table("c" => build_int32_array([200]))
207 table3 = build_table("a" => build_int32_array([3]),
208 "b" => build_int32_array([30]))
209 assert_equal(table, table1.concatenate([table2, table3], options))
210 end
211 end
212
213 sub_test_case("#slice") do

Callers

nothing calls this directly

Calls 2

newMethod · 0.45
concatenateMethod · 0.45

Tested by

no test coverage detected