Skip to content

[Java] Avro to Arrow converter should reuse the same VectorSchemaRoot #328

@asfimport

Description

@asfimport

When originally reviewing the code I suggested a new VectorSchemaRoot on each call to the iterator.  After further discussions on the mailing list, it seems that this is an anit-pattern for working with VectorSchemaRoot, we should update the code to update a single VectorSchemaRoot.

 

After this change it should be easier to use Avro converter with other components of the library (i.e. filewriter) which also make use of a single VectorSchemaRoot.

Reporter: Micah Kornfield / @emkornfield

Note: This issue was originally created as ARROW-9613. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions