[
https://issues.apache.org/jira/browse/ARROW-2767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17659793#comment-17659793
]
Rok Mihevc commented on ARROW-2767:
-----------------------------------
This issue has been migrated to [issue
#19151|https://github.com/apache/arrow/issues/19151] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [JS] Add generic to Table for column names
> ------------------------------------------
>
> Key: ARROW-2767
> URL: https://issues.apache.org/jira/browse/ARROW-2767
> Project: Apache Arrow
> Issue Type: Improvement
> Components: JavaScript
> Reporter: Brian Hulette
> Assignee: Brian Hulette
> Priority: Major
> Labels: pull-request-available
> Fix For: JS-0.4.0
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> Requested by [~domoritz]
> Something like:
> {code:javascript}
> class Table<ColName extends string = string> {
> ...
> getColumn(name: ColName): Vector<any> {
> }
> ...
> }
> {code}
> It would be even better if we could find a way to map the column names to the
> actual vector data types, but one thing at a time.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)