Skip to content

Commit 71991a6

Browse files
committed
for test
1 parent a42c278 commit 71991a6

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

src/query/service/src/interpreters/interpreter_table_recluster.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ impl ReclusterTableInterpreter {
368368
}),
369369
plan.output_schema()?.as_ref(),
370370
)?;
371+
log::warn!("hilbert recluster expr: {:?}", expr);
371372
plan = Box::new(PhysicalPlan::Exchange(Exchange {
372373
plan_id: 0,
373374
input: plan,

src/query/service/src/pipelines/processors/transforms/transform_partition_collect.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,12 +327,22 @@ impl Processor for TransformHilbertPartitionCollect {
327327
if let Some((partition_id, data_block)) = self.immediate_output_blocks.pop() {
328328
self.restored_data_blocks = self.buffer.restore_by_id(partition_id).await?;
329329
self.restored_data_blocks.push(data_block);
330+
log::warn!(
331+
"flush processor id: {}, partition id: {}",
332+
self.processor_id,
333+
partition_id
334+
);
330335
self.state = State::Concat;
331336
}
332337
}
333338
State::Spill => self.buffer.spill().await?,
334339
State::Restore => {
335340
let (id, blocks) = self.buffer.restore_with_id().await?;
341+
log::warn!(
342+
"restore processor id: {}, partition id: {}",
343+
self.processor_id,
344+
id
345+
);
336346
if !blocks.is_empty() {
337347
self.restored_data_blocks = blocks;
338348
self.state = State::Concat;

0 commit comments

Comments
 (0)