[Java] Avro to Arrow converter should reuse the same VectorSchemaRoot
- Linguagem predominante
- Java
- Estrelas
- 94
- Forks
- 152
- Merge médio
- 3d 16h
- PRs com merge (30d)
- 11
Descrição
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](https://issues.apache.org/jira/browse/ARROW-9613) / @emkornfield
**Note**: *This issue was originally created as [ARROW-9613](https://issues.apache.org/jira/browse/ARROW-9613). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*
Guia de contribuição
Direção de pesquisa
Comece localizando o conversor Java Avro e seu iterador e, em seguida, leia como VectorSchemaRoot é criado e retornado em cada chamada. A alteração estará concluída quando o conversor atualizar e reutilizar um único VectorSchemaRoot, permitindo que ele funcione com componentes como filewriter; execute os testes existentes do conversor, se disponíveis.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- java
- Domínio
- data
- Tipo de issue
- Refatoração
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100