Skip to content

Commit

Permalink
remove printlns
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin Ho authored and Colin Ho committed Aug 27, 2024
1 parent 8dde192 commit 05524b8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ impl IntermediateOperator for HashJoinProbeOperator {
input: &PipelineResultType,
state: Option<&mut Box<dyn IntermediateOperatorState>>,
) -> DaftResult<IntermediateOperatorResult> {
println!("HashJoinProbeOperator::execute: idx: {}", idx);
match idx {
0 => {
let state = state
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ impl IntermediateNode {
};

for (idx, mut receiver) in receivers.into_iter().enumerate() {
println!("idx: {}", idx);
let mut buffer = OperatorBuffer::new(morsel_size);
while let Some(morsel) = receiver.recv().await {
if morsel.should_broadcast() {
Expand Down
2 changes: 1 addition & 1 deletion src/daft-local-execution/src/sinks/hash_join_build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,14 @@ impl BlockingSink for HashJoinBuildSink {
self.probe_table_state.add_tables(input)?;
Ok(BlockingSinkStatus::NeedMoreInput)
}

fn finalize(&mut self) -> DaftResult<Option<PipelineResultType>> {
self.probe_table_state.finalize()?;
if let ProbeTableState::Done {
probe_table,
tables,
} = &self.probe_table_state
{
println!("HashJoinBuildSink::finalize: table_len: {}", tables.len());
Ok(Some((probe_table.clone(), tables.clone()).into()))
} else {
panic!("finalize should only be called after the probe table is built")
Expand Down

0 comments on commit 05524b8

Please sign in to comment.