atahanyorganci opened a new pull request, #16138:
URL: https://github.com/apache/datafusion/pull/16138

   Added `tables: HashMap<String, Arc<dyn TableSource>>` and 
`MyContextProvider::with_schema` method for dynamically defining tables for 
optimizer integration tests.
   
   ## Which issue does this PR close?
   
   -
   
   ## Rationale for this change
   
   Current mock context uses hardcoded tables, this change allows adding 
multiple tables without modify the mock implementation. This change will make 
testing #16023 easier.
   
   ## What changes are included in this PR?
   
   -
   
   ## Are these changes tested?
   
   Yes, all of the integration tests are passing.
   
   ## Are there any user-facing changes?
   
   No, this is purely for integration tests in `datafusion/optimizer`
   
   


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to