Skip to content

Commit

Permalink
fix: performance degrade
Browse files Browse the repository at this point in the history
  • Loading branch information
dqhl76 committed Oct 31, 2024
1 parent 3214c8a commit 828787e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/query/storages/fuse/src/operations/read/fuse_source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,14 +212,14 @@ pub fn build_fuse_parquet_source_pipeline(

match is_lazy {
true => {
let (pipe, source_senders) = build_lazy_source(max_threads, ctx.clone())?;
let (pipe, source_senders) = build_lazy_source(max_io_requests, ctx.clone())?;
senders.extend(source_senders);
pipeline.add_pipe(pipe);
}
false => {
let batch_size = ctx.get_settings().get_storage_fetch_part_num()? as usize;
let pipe = build_block_source(
max_threads,
max_io_requests,
partitions.clone(),
batch_size,
ctx.clone(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ explain pipeline select a from t1 ignore_result
----
EmptySink × 1
NativeDeserializeDataTransform × 1
SyncReadNativeDataSource × 1
SyncReadNativeDataTransform × 1
BlockPartitionSource × 1


statement ok
Expand Down

0 comments on commit 828787e

Please sign in to comment.