Skip to content

Commit

Permalink
fix(ci): flaky test (#16664)
Browse files Browse the repository at this point in the history
* fix(ci): flaky test

* chore: add info log for logic plan built
  • Loading branch information
zhyass authored Oct 24, 2024
1 parent ea5d2d6 commit 45b0da4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/query/sql/src/planner/planner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,8 @@ impl Planner {
if enable_planner_cache {
self.set_cache(planner_cache_key.clone().unwrap(), optimized_plan.clone());
}

info!("logical plan built, time used: {:?}", start.elapsed());
Ok(optimized_plan)
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
statement ok
set enable_parallel_multi_merge_sort = 0;

statement ok
CREATE TABLE test_linear(a int, b int) cluster by(a,b) row_per_block = 2;

Expand Down Expand Up @@ -96,7 +99,7 @@ Filter
└── TableScan
├── table: default.default.test_hilbert
├── output columns: [a (#0), b (#1)]
├── read rows: 3
├── read rows: 2
├── read size: < 1 KiB
├── partitions total: 2
├── partitions scanned: 1
Expand Down

0 comments on commit 45b0da4

Please sign in to comment.