-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Register SQL planners in SessionState::new()
#11216
Comments
hello @jayzhan211 , i would like to work on this. QQ: Is this issue any straight as it sounds or there is more to it? |
A little more than it. Ideally we need to update map capacity in provider with the number of references. But, I think you can try it. datafusion/datafusion/core/src/execution/session_state.rs Lines 590 to 608 in 75b9c9b
|
take |
Do you mean something like this
If yes, why is required ? I this that we are already updating the capacity with reference count. If i misinterpreted it can you please elaborate more ? |
Update here is I think the current formulation is about as optimal as we can get it: datafusion/datafusion/core/src/execution/session_state.rs Lines 234 to 242 in dce77db
(namely to make a Vec with a size known at compile time |
Originally posted by @alamb in #11208 (comment)
The text was updated successfully, but these errors were encountered: