You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2018/10/26 10:36:00 UTC
[jira] [Resolved] (ARROW-2767) [JS] Add generic to Table for column
names
[ https://issues.apache.org/jira/browse/ARROW-2767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney resolved ARROW-2767.
---------------------------------
Resolution: Fixed
Fix Version/s: (was: JS-0.4.0)
0.12.0
Issue resolved by pull request 2256
[https://github.com/apache/arrow/pull/2256]
> [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: Paul Taylor
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.12.0
>
> Time Spent: 1h 20m
> 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
(v7.6.3#76005)