dharanad commented on issue #11216:
URL: https://github.com/apache/datafusion/issues/11216#issuecomment-2206731237

   > > 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.
   > 
   > 
https://github.com/apache/datafusion/blob/75b9c9bea28757ec66d7e6a88997bd6f30c367f5/datafusion/core/src/execution/session_state.rs#L590-L608
   
   Do you mean something like this
   ```
           let mut provider = SessionContextProvider {
               state: self,
               tables: HashMap::with_capacity(references.len() + 
self.user_defined_sql_planners.len()),
           };
   ```


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