[
https://issues.apache.org/jira/browse/ARROW-1651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17658682#comment-17658682
]
Rok Mihevc commented on ARROW-1651:
-----------------------------------
This issue has been migrated to [issue
#17659|https://github.com/apache/arrow/issues/17659] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [JS] Lazy row accessor in Table
> -------------------------------
>
> Key: ARROW-1651
> URL: https://issues.apache.org/jira/browse/ARROW-1651
> Project: Apache Arrow
> Issue Type: Improvement
> Components: JavaScript
> Reporter: Brian Hulette
> Assignee: Paul Taylor
> Priority: Minor
> Labels: performance
> Fix For: 0.8.0
>
>
> Right now the {{Table}} class has a {{*rows}} function for grabbing a series
> of rows, but the only available formats for the returned data are an Array
> and an Object for each row, which contain the value from every column.
> It would be useful to have the option to yield some kind of lazy accessor for
> each row, so that end users can only access the columns they are actually
> using. This would have caching benefits, and save us from doing dictionary
> lookups and/or string decodes on unused columns.
> I'm not sure exactly what form this accessor would take. Perhaps a function
> that accepts a column name/index? Or an array with a function for each
> column? Or maybe there's some other new JS pattern that could accomplish this.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)