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

[Java] UnionVector created by MinorType#getNewVector could not keep field type info properly

    XMLWordPrintableJSON

Details

    Description

      When I worked for other items, I found UnionVector created by VectorSchemaRoot#create(Schema schema, BufferAllocator allocator) could not keep field type info properly. For example, if we set metadata in Field in schema, we could not get it back by UnionVector#getField.

      This is mainly because MinorType.Union.getNewVector did not pass FieldType to vector and UnionVector#getField create a new Field which cause inconsistent.

      Attachments

        Issue Links

          Activity

            People

              tianchen92 Ji Liu
              tianchen92 Ji Liu
              Votes:
              0 Vote for this issue
              Watchers:
              3 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