DaltonModlin opened a new pull request, #3290:
URL: https://github.com/apache/arrow-datafusion/pull/3290
- tpch.rs::benchmark_datafusion now executes LogicalPlan immediately after
building
- tpch.rs::run_query now executes LogicalPlan immediately after building
Resolves #3273
# Which issue does this PR close?
Closes #3273
# Rationale for this change
In the case of TPCH Query 15, a LogicalPlan is created for the first part of
the query (creating the view), but a LogicalPlan for the second part of the
query cannot be constructed before executing the first LogicalPlan. This is
because the view cannot be found in the session context until its LogicalPlan
is executed.
# What changes are included in this PR?
Update tpch.rs to generate a LogicalPlan, and then immediately execute it
before generating the next LogicalPlan for both `tpch.rs::benchmark_datafusion`
and `tpch.rs::run_query`
# Are there any user-facing changes?
No.
--
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]