Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass SessionState to TableProvider #2658

Closed
tustvold opened this issue May 30, 2022 · 0 comments · Fixed by #2660
Closed

Pass SessionState to TableProvider #2658

tustvold opened this issue May 30, 2022 · 0 comments · Fixed by #2660
Labels
enhancement New feature or request

Comments

@tustvold
Copy link
Contributor

tustvold commented May 30, 2022

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

Currently there is no obvious way for a TableProvider to access session state without introducing potential ref cycles - #2657

Describe the solution you'd like

I would like to expose a &SessionState to TableProvider::scan to allow them to make use of session state for query planning

Describe alternatives you've considered

We could not do this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant