Closed alamb closed 1 month ago
I think this is a good first issue as it is clearly described and straightforward to implement. It would be a good introduction to DataFusion I think
\take
\take
BTW since you are now a committer, I think you can also just assign github issues directly to yourself :)
Is your feature request related to a problem or challenge?
Part of https://github.com/apache/datafusion/issues/12550
While working on https://github.com/datafusion-contrib/datafusion-dft I want to register various types of extensions while configuring the SessionContext, ideally adding each extension to the
SessionStateBuilder
each time.However, I found that there were a few APIs missing on SessionStateBuilder so I had to implement my own workaround builder here: https://github.com/datafusion-contrib/datafusion-dft/blob/8247555f9464058c1ac3370196739ac2b19343ee/src/extensions/builder.rs#L84-L98
SessionStateBuilder
hasSessionStateBuilder::with_table_factories
method to set all the table factories, but no way to just append a new table factoryDescribe the solution you'd like
I would like a way to append just a single new
TableFactory
to the list of factories being constructedAlso it should have
Describe alternatives you've considered
I recommend adding a new function
SessionStateBuilder::with_table_factory
that works like this:Additional context
No response