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

Method test_default

c_glib/test/test-csv-reader.rb:28–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 end
27
28 def test_default
29 table = Arrow::CSVReader.new(open_input(<<-CSV))
30message,count
31"Start",2
32"Shutdown",9
33 CSV
34 columns = {
35 "message" => build_string_array(["Start", "Shutdown"]),
36 "count" => build_int64_array([2, 9]),
37 }
38 assert_equal(build_table(columns),
39 table.read)
40 end
41
42 sub_test_case("options") do
43 def test_add_column_type

Callers

nothing calls this directly

Calls 2

newMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected