avantgardnerio opened a new issue, #4976: URL: https://github.com/apache/arrow-datafusion/issues/4976
**Is your feature request related to a problem or challenge? Please describe what you are trying to do.** As of recently, we added support to run DML statements, and to infer parameter types for update queries. Since we are using common logic, many insert statement types should work already (i.e. `insert into from select ...`), however the necessary information is not present farther down the stack to infer parameter types for values clauses (ie. `insert into person (id) values (1)`) - since it is trying to infer the schema from the placeholders, and the placeholders from the schema, it breaks at runtime. **Describe the solution you'd like** Pre-populate parameter types during `insert into values` queries so it works. **Describe alternatives you've considered** 1. Plumb schema down through several planning functions so that it can infer types nearer to the other logic 2. Give up on inferring types and switch to another database engine -- 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]
