This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git
The following commit(s) were added to refs/heads/main by this push:
new 4d07579e91 Support explain query when running dfbench with clickbench
(#13942)
4d07579e91 is described below
commit 4d07579e91839a66b44c058636a34bdb14d1f041
Author: Qi Zhu <[email protected]>
AuthorDate: Mon Dec 30 18:26:40 2024 +0800
Support explain query when running dfbench with clickbench (#13942)
* Support explain query when running dfbench
* Address comments
---
benchmarks/src/clickbench.rs | 3 +++
1 file changed, 3 insertions(+)
diff --git a/benchmarks/src/clickbench.rs b/benchmarks/src/clickbench.rs
index 46dd4b1882..6b7c75ed4b 100644
--- a/benchmarks/src/clickbench.rs
+++ b/benchmarks/src/clickbench.rs
@@ -145,6 +145,9 @@ impl RunOpt {
);
benchmark_run.write_iter(elapsed, row_count);
}
+ if self.common.debug {
+ ctx.sql(sql).await?.explain(false, false)?.show().await?;
+ }
}
benchmark_run.maybe_write_json(self.output_path.as_ref())?;
Ok(())
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]