tokoko commented on issue #318:
URL: https://github.com/apache/arrow-adbc/issues/318#issuecomment-1380918932

   I started rewriting spark-flight-sql data source to spark-adbc 
(https://github.com/tokoko/spark-adbc), this function would greatly simplify 
efficient schema inference. I can give implementing this a try (at least in 
Java) if that's okay with you.
   
   P.S. Wouldn't it make more sense for the drivers to fail if schema detection 
can't be accomplished without significant execution time? (up to drivers to 
decide what "significant" means) I'm thinking of stored procedures in case of 
jdbc, for example. It would force clients to explicitly call executeQuery in 
such cases and avoid inadvertently executing long-running queries.


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