Omega359 commented on issue #11320:
URL: https://github.com/apache/datafusion/issues/11320#issuecomment-2214007578

   I was actually looking at this last week interestingly enough. My thought 
was to have a parent `register_all_defaults` which delegates to individual 
functions for registering defaults for catalogues, table factories, etc. The 
current flag to `create_default_catalog_and_schema` would then just be an in 
statement calling out to the `register_all_defaults` function.
   
   In doing it that way we could allow for 
   
   1. Existing behaviour would be unchanged
   2. Users could register all defaults or
   3. Users could register defaults for parts of their choosing
   
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to