Details

      Description

      See this (empty) PR:
      https://github.com/apache/arrow/pull/1822

      It results in failures on the GLib builds:
      https://travis-ci.org/apache/arrow/builds/361145322

      ================================================================================
      /home/travis/build/apache/arrow/c_glib/test/test-list-array.rb:24:in `test_new'
           21:   def test_new
           22:     value_offsets = Arrow::Buffer.new([0, 2, 5, 5].pack("l*"))
           23:     data = Arrow::Buffer.new([1, 2, 3, 4, 5].pack("c*"))
        => 24:     values = Arrow::Int8Array.new(5, data, nil, 0)
           25:     assert_equal(build_list_array(Arrow::Int8DataType.new,
           26:                                   [[1, 2], [3, 4, 5], nil]),
           27:                  Arrow::ListArray.new(3,
      /home/travis/build/apache/arrow/c_glib/test/test-list-array.rb:24:in `new'
      /home/travis/.rvm/gems/ruby-2.4.1/gems/gobject-introspection-3.2.2/lib/gobject-introspection/loader.rb:328:in `block in load_constructor_infos'
      /home/travis/.rvm/gems/ruby-2.4.1/gems/gobject-introspection-3.2.2/lib/gobject-introspection/loader.rb:317:in `block (2 levels) in load_constructor_infos'
      /home/travis/.rvm/gems/ruby-2.4.1/gems/gobject-introspection-3.2.2/lib/gobject-introspection/loader.rb:317:in `invoke'
      Error: test_new(TestListArray): ArgumentError: <Arrow::Int8Array#new>: the 2nd argument must not nil: <null_bitmap>
      ================================================================================
      ...........................................E
      ================================================================================
      /home/travis/build/apache/arrow/c_glib/test/test-struct-array.rb:41:in `test_new'
           38: 
           39:     data_type = Arrow::StructDataType.new(fields)
           40:     children = [
        => 41:       Arrow::Int8Array.new(2, Arrow::Buffer.new([-29, 2].pack("C*")), nil, 0),
           42:       Arrow::BooleanArray.new(2, Arrow::Buffer.new([0b01].pack("C*")), nil, 0),
           43:     ]
           44:     assert_equal(struct_array1,
      /home/travis/build/apache/arrow/c_glib/test/test-struct-array.rb:41:in `new'
      /home/travis/.rvm/gems/ruby-2.4.1/gems/gobject-introspection-3.2.2/lib/gobject-introspection/loader.rb:328:in `block in load_constructor_infos'
      /home/travis/.rvm/gems/ruby-2.4.1/gems/gobject-introspection-3.2.2/lib/gobject-introspection/loader.rb:317:in `block (2 levels) in load_constructor_infos'
      /home/travis/.rvm/gems/ruby-2.4.1/gems/gobject-introspection-3.2.2/lib/gobject-introspection/loader.rb:317:in `invoke'
      Error: test_new(TestStructArray): ArgumentError: <Arrow::Int8Array#new>: the 2nd argument must not nil: <null_bitmap>
      ================================================================================
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kou Sutou Kouhei
                Reporter:
                pitrou Antoine Pitrou
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: