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

[JS] Add generic to Table for column names

    XMLWordPrintableJSON

Details

    Description

      Requested by domoritz
      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

              bhulette Brian Hulette
              bhulette Brian Hulette
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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