You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by ag...@apache.org on 2024/10/31 14:34:25 UTC

(datafusion-benchmarks) branch main updated: remove config flag conflict in datafusion runner (#16)

This is an automated email from the ASF dual-hosted git repository.

agrove pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion-benchmarks.git


The following commit(s) were added to refs/heads/main by this push:
     new 86da77b  remove config flag conflict in datafusion runner (#16)
86da77b is described below

commit 86da77bdb8bf99ad67a3ac05c267fabeca76c3d3
Author: Onur Satici <on...@users.noreply.github.com>
AuthorDate: Thu Oct 31 14:34:21 2024 +0000

    remove config flag conflict in datafusion runner (#16)
---
 runners/datafusion-rust/src/main.rs | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/runners/datafusion-rust/src/main.rs b/runners/datafusion-rust/src/main.rs
index a658497..cc8ba08 100644
--- a/runners/datafusion-rust/src/main.rs
+++ b/runners/datafusion-rust/src/main.rs
@@ -24,7 +24,7 @@ struct Opt {
     debug: bool,
 
     /// Optional path to config file
-    #[structopt(short, long, parse(from_os_str))]
+    #[structopt(long, parse(from_os_str))]
     config_path: Option<PathBuf>,
 
     /// Path to queries
@@ -157,7 +157,7 @@ pub async fn main() -> Result<()> {
                 opt.iterations,
                 &mut results,
             )
-                .await?;
+            .await?;
         }
         _ => {
             let num_queries = opt.num_queries.unwrap();
@@ -176,7 +176,7 @@ pub async fn main() -> Result<()> {
                     opt.iterations,
                     &mut results,
                 )
-                    .await;
+                .await;
                 match result {
                     Ok(_) => {}
                     Err(e) => println!("Fail: {}", e),
@@ -288,4 +288,4 @@ pub async fn execute_query(
     }
     results.query_times.push((query_no, durations));
     Ok(())
-}
\ No newline at end of file
+}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org