GitHub user lidavidm added a comment to the discussion: Should execute() 
/executemany() auto-cast parameters to match parameter_schema from prepared 
statement?

Right, the conversion from Python values to Arrow is best-effort. While we 
could use the schema from GetParameterSchema instead, I'm hesitant since I 
think for many systems, the schema is not fully reflective of the actual types 
(e.g. I know Postgres will give VARCHAR when the type is ambiguous/multiple 
types are possible)

GitHub link: 
https://github.com/apache/arrow-adbc/discussions/3911#discussioncomment-15612068

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to