timsaucer opened a new issue, #18026: URL: https://github.com/apache/datafusion/issues/18026
### Is your feature request related to a problem or challenge? I would like to create a temporary view of a DataFrame and store it in my session context. My SchemaProvider differentiates how it stores a `View` vs a `TemporaryView`. I would like to use the existing `DataFrameTableProvider` to create temporary views. ### Describe the solution you'd like Enhance `DataFrameTableProvider` to contain a view type. I think it makes sense to put it in the `new()` function as a parameter, but it would be non-breaking if we simply added a new method `as_temporary_view()` which would change an internal data member that stores the view type. ### Describe alternatives you've considered We can duplicate this code, but that is inefficient for maintainability. ### Additional context _No response_ -- 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]
