You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Todd Farmer (Jira)" <ji...@apache.org> on 2022/09/12 16:51:00 UTC

[jira] [Commented] (ARROW-15206) [Ruby] Allow to pass schema when loading table from file

    [ https://issues.apache.org/jira/browse/ARROW-15206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17603190#comment-17603190 ] 

Todd Farmer commented on ARROW-15206:
-------------------------------------

This issue was last updated over 90 days ago, which may be an indication it is no longer being actively worked. To better reflect the current state, the issue is being unassigned per [project policy|https://arrow.apache.org/docs/dev/developers/bug_reports.html#issue-assignment]. Please feel free to re-take assignment of the issue if it is being actively worked, or if you plan to start that work soon.

> [Ruby] Allow to pass schema when loading table from file
> --------------------------------------------------------
>
>                 Key: ARROW-15206
>                 URL: https://issues.apache.org/jira/browse/ARROW-15206
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Ruby
>            Reporter: Kanstantsin Ilchanka
>            Assignee: Kouhei Sutou
>            Priority: Minor
>
> There is ability to do this in C++, but not in Ruby
> {code:java}
> schema = Arrow::Schema.new(a: :int64, b: :double)
> Arrow::Table.load(URI('file:///tmp/example.csv'), format: :csv, schema: schema){code}
> This should also work when loading multiple files from folder



--
This message was sent by Atlassian Jira
(v8.20.10#820010)