Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-2767

[JS] Add generic to Table for column names

    Details

      Description

      Requested by Dominik Moritz
      Something like:

      class Table<ColName extends string = string> {
          ...
          getColumn(name: ColName): Vector<any> {
          }
          ...
      }
      

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                paul.e.taylor Paul Taylor
                Reporter:
                bhulette Brian Hulette
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m