ArgusLi opened a new issue, #35559:
URL: https://github.com/apache/arrow/issues/35559

   ### Describe the enhancement requested
   
   ### Describe the enhancement requested
   The current 
[ArrowFlightJdbcFlightStreamResultSet](https://github.com/apache/arrow/blob/10bc4585b46048ec3717c198dc7e648a55cd08c9/java/flight/flight-sql-jdbc-driver/src/main/java/org/apache/arrow/driver/jdbc/ArrowFlightJdbcFlightStreamResultSet.java)
 gets a VectorSchemaRoot and then executes it every time 
ArrowFlightStreamResultSet.next() gets called. There is a performance gain to 
be had if a double buffer was implemented so that the consumption of the 
VectorSchemaRoot can be separated from the production.
   
   The goal of this ticket is to implement double buffering such that:
   - VectorSchemaRoots are produced asynchronously and stored in a blocking 
queue.
   - when ArrowFlightStreamResultSet.next() gets called, the Result Set just 
gets the next available VectorSchemaRoot from the Blocking queue and executes 
it.
   
   ### Component(s)
   Java
   
   ### Component(s)
   
   Java


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to