Ulimo commented on pull request #10906: URL: https://github.com/apache/arrow/pull/10906#issuecomment-920064260
@lidavidm yes, internally at my Company we use ORMs to generate queries that has parameters. Doing a prepared statement would in my opinion impact performance. Using doPut to set the parameters in session would also require the same flight server to be called for getFlightInfo, so load balancing becomes more advanced for getting the flight info. DoExchange sounds like an interesting solution to do a single call, my only potential issue is a case similar to this: `SELECT * FROM table WHERE partitionkey = @pkey` Where getFlightInfo could resolve it to a single partition/endpoint. But if its using DoExchange I would still need to go to every partition? -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org