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

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   [From 
user@](https://lists.apache.org/thread/9smgkz1x3wl27yl7nj55d8qdmlmhpgm2):
   
   > I noticed that when I use ArrowFlightJdbcDriver to run a prepare statement
   > query. It sends prepare query twice to the backend flight server.
   > 
   > The first query is triggered in ArrowFlightMetaImpl#prepare method: link:
   > 
https://github.com/apache/arrow/blob/45918a90a6ca1cf3fd67c256a7d6a240249e555a/java/flight/flight-sql-jdbc-driver/src/main/java/org/apache/arrow/driver/jdbc/ArrowFlightMetaImpl.java#L134
   > 
   > 
   > The second query is triggered
   > in ArrowFlightJdbcFactory#newPreparedStatement: link
   > 
https://github.com/apache/arrow/blob/45918a90a6ca1cf3fd67c256a7d6a240249e555a/java/flight/flight-sql-jdbc-driver/src/main/java/org/apache/arrow/driver/jdbc/ArrowFlightJdbcFactory.java#L84
   > 
   > Could you shed some light on this? Why it's called twice? Does backend
   > flight server need skip the second duplicate query in such case?
   
   ### Component(s)
   
   FlightRPC, 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