paleolimbot commented on PR #3623:
URL: https://github.com/apache/arrow-adbc/pull/3623#issuecomment-3518246126

   I think the reason for adding this would be for a user who executed and 
collected a query but got an error along the lines of "can't append string to 
column of type int64", which is what would happen today if someone issued a 
query with the sqllite driver and first few thousand values were null.
   
   The second reason is for people who already know the arrow type they want, 
perhaps because they're using a tool like ibis that already knows or because 
they executed the query and the driver guessed something they didn't like or 
that was inconsistent with a previous query against the same data.
   
   I should probably take out the negotiation bit since it seems to be 
distracting from the intent...it's orthogonal to options, which would only 
affect the default guessing (but still have no way to specifically specify type 
parameters or specific problematic columns).
   
   (These are all roughly the same reason why a requested schema is provided 
for a csv reader.)


-- 
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