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)

Reply via email to