niebayes opened a new issue, #6561: URL: https://github.com/apache/arrow-rs/issues/6561
**Is your feature request related to a problem or challenge? Please describe what you are trying to do.** We have a use case where we read data from a source, construct a record batch stream, and write the data using INSERT SQL + prepared statement. However, the current prepared statement only offers `set_parameters` + `execute_update`, which limits us to inserting one record batch at a time. Since Arrow Flight SQL client supports `execute_ingest`, I suggest that the prepared statement provide a similar interface. This would allow the client to insert multiple record batches in one call, e.g., via `prepared_stmt.execute_ingest(stream)`. **Describe the solution you'd like** Implement a method `execute_ingest` for Arrow FlightSQL client that receives a stream of parameter bindings, sends the stream to the server, and waits for a stream of DoPut results. **Describe alternatives you've considered** <!-- A clear and concise description of any alternative solutions or features you've considered. --> **Additional context** <!-- Add any other context or screenshots about the feature request here. --> -- 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]
