alamb commented on PR #10650:
URL: https://github.com/apache/datafusion/pull/10650#issuecomment-2131235103

   > Maybe we can do the following: Instead of making every 
TableProviderFactory responsible for implementing this behavior in create, we 
can add some general mechanism at the trait level (maybe via a default method 
implementation?) to make this fallback automatic for all TableProviderFactory 
implementations unless overridden. @alamb, what do you think? Any ideas come to 
mind?
   
   Thank you for the explanation -- what you describe makes sense -- maybe we 
can update the documentation to add some of this context and that would be good 
enough. I haven't thought through all the nuances of general fallbacks, but 
given what you say perhaps it is a corner case we can worry about if/when 
somone actually hits it.
   
   From my perspective the most important thing is for the behavior to be 
clearly documented. 


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to