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

[Java] Union vectors should extend ValueVector

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.1
    • 5.0.0
    • Java

    Description

      I was going to try using a DenseUnionVector as the underlying vector of an extension type but it's not currently possible because ExtensionTypeVector has a type constraint for the underlying storage to extend BaseValueVector and the union vectors do not extend this class.

      It should be possible for UnionVector and DenseUnionVector to extend AbstractContainerVector, which is a subclass of ValueVector, then relax the type constraint for an ExtensionTypeVector to use the ValueVector interface.

      Attachments

        Issue Links

          Activity

            People

              bryanc Bryan Cutler
              bryanc Bryan Cutler
              Votes:
              0 Vote for this issue
              Watchers:
              2 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