You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Brian Hulette (JIRA)" <ji...@apache.org> on 2018/06/30 00:22:00 UTC

[jira] [Created] (ARROW-2767) [JS] Add generic to Table for column names

Brian Hulette created ARROW-2767:
------------------------------------

             Summary: [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
            Reporter: Brian Hulette


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)