Skip to content

Commit

Permalink
Minor: Output elapsed time for sql logic test
Browse files Browse the repository at this point in the history
  • Loading branch information
comphead committed Dec 10, 2024
1 parent edbd454 commit 864e468
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions datafusion/sqllogictest/bin/sqllogictests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ async fn run_tests() -> Result<()> {
.map(|test_file| {
SpawnedTask::spawn(async move {
let file_path = test_file.relative_path.clone();
println!("Running {:?}", file_path);
let start = datafusion::common::instant::Instant::now();
if options.complete {
run_complete_file(test_file).await?;
Expand All @@ -109,7 +108,7 @@ async fn run_tests() -> Result<()> {
} else {
run_test_file(test_file).await?;
}
println!("Completed {:?}. Elapsed {:?}", file_path, start.elapsed());
println!("Executed {:?}. Took {:?}", file_path, start.elapsed());
Ok(()) as Result<()>
})
.join()
Expand Down

0 comments on commit 864e468

Please sign in to comment.