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)

Reply via email to