You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Rick (Jira)" <ji...@apache.org> on 2019/10/08 00:12:00 UTC

[jira] [Created] (ARROW-6813) [RUBY] Arrow::Table.load with headers=true leads to exception in Arrow 0.15

Rick created ARROW-6813:
---------------------------

             Summary: [RUBY] Arrow::Table.load with headers=true leads to exception in Arrow 0.15
                 Key: ARROW-6813
                 URL: https://issues.apache.org/jira/browse/ARROW-6813
             Project: Apache Arrow
          Issue Type: Bug
          Components: Ruby
    Affects Versions: 0.15.0
         Environment: Ubuntu 18.04, Debian Stretch
            Reporter: Rick


```

Error: undefined method `n_header_rows=' for #<Arrow::CSVReadOptions:0x560112464880 ptr=0x560117ce10f0>

```

It appears that 0.15 has changed the name for this option to `n_skip_rows`

 

```

(byebug) options
#<Arrow::CSVReadOptions:0x55904e39de90 ptr=0x55904f2db200>(byebug) (options.methods - Object.new.methods).sort
[:add_column_name, :add_column_type, :add_column_type_raw, :add_false_value, :add_null_value, :add_schema, :add_true_value, :allow_newlines_in_values=, :allow_newlines_in_values?, :allow_null_strings=, :allow_null_strings?, :bind_property, :block_size, :block_size=, :check_utf8=, :check_utf8?, :column_names, :column_names=, :column_types, :delimiter, :delimiter=, :destroyed?, :double_quoted=, :double_quoted?, :escape_character, :escape_character=, :escaped=, :escaped?, :false_values, :false_values=, :floating?, :freeze_notify, :generate_column_names=, :generate_column_names?, :get_property, :gtype, :ignore_empty_lines=, :ignore_empty_lines?, :n_skip_rows, :n_skip_rows=, :notify, :null_values, :null_values=, :parent_instance, :quote_character, :quote_character=, :quoted=, :quoted?, :ref_count, :set_allow_newlines_in_values, :set_allow_null_strings, :set_block_size, :set_check_utf8, :set_column_names, :set_delimiter, :set_double_quoted, :set_escape_character, :set_escaped, :set_false_values, :set_generate_column_names, :set_ignore_empty_lines, :set_n_skip_rows, :set_null_values, :set_property, :set_quote_character, :set_quoted, :set_true_values, :set_use_threads, :signal_connect, :signal_connect_after, :signal_emit, :signal_emit_stop, :signal_handler_block, :signal_handler_disconnect, :signal_handler_is_connected?, :signal_handler_unblock, :signal_has_handler_pending?, :thaw_notify, :true_values, :true_values=, :type_name, :unref, :use_threads=, :use_threads?]

```



--
This message was sent by Atlassian Jira
(v8.3.4#803005)