You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Micah Kornfield (Jira)" <ji...@apache.org> on 2020/08/01 02:55:00 UTC
[jira] [Created] (ARROW-9614) [Java] JDBC to Arrow converter
iterator should reuse the same VectorSchemaRoot
Micah Kornfield created ARROW-9614:
--------------------------------------
Summary: [Java] JDBC to Arrow converter iterator should reuse the same VectorSchemaRoot
Key: ARROW-9614
URL: https://issues.apache.org/jira/browse/ARROW-9614
Project: Apache Arrow
Issue Type: Improvement
Components: Java
Reporter: Micah Kornfield
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 JDBC converter with other components of the library (i.e. filewriter) which also make use of a single VectorSchemaRoot.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)