Skip to content

Commit 4707bac

Browse files
committed
fix merge
1 parent 111758a commit 4707bac

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/query/service/src/physical_plans/physical_hash_join.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ use crate::physical_plans::Exchange;
5757
use crate::physical_plans::PhysicalPlanBuilder;
5858
use crate::pipelines::processors::transforms::HashJoinFactory;
5959
use crate::pipelines::processors::transforms::HashJoinProbeState;
60-
use crate::pipelines::processors::transforms::InnerHashJoin;
61-
use crate::pipelines::processors::transforms::RuntimeFiltersDesc;
6260
use crate::pipelines::processors::transforms::TransformHashJoin;
6361
use crate::pipelines::processors::transforms::TransformHashJoinBuild;
6462
use crate::pipelines::processors::transforms::TransformHashJoinProbe;
@@ -410,7 +408,7 @@ impl HashJoin {
410408
builder: &mut PipelineBuilder,
411409
desc: Arc<HashJoinDesc>,
412410
) -> Result<()> {
413-
let factory = self.join_factory(builder, desc)?;
411+
let factory = self.join_factory(builder, desc.clone())?;
414412

415413
// After common subexpression elimination is completed, we can delete this type of code.
416414
{

src/query/service/src/pipelines/processors/transforms/hash_join/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ pub use hash_join_spiller::HashJoinSpiller;
3737
pub use hash_join_state::*;
3838
pub use probe_state::ProbeState;
3939
pub use probe_state::ProcessState;
40-
pub use runtime_filter::*;
4140
pub use spill_common::get_hashes;
4241
pub use transform_hash_join_build::TransformHashJoinBuild;
4342
pub use transform_hash_join_probe::TransformHashJoinProbe;
43+
44+
pub use super::runtime_filter::*;

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ pub use materialized_cte::MaterializedCteSink;
4444
pub use new_hash_join::Join;
4545
pub use new_hash_join::TransformHashJoin;
4646
pub use new_hash_join::*;
47-
pub use runtime_filter::*;
4847
pub use sort::*;
4948
pub use transform_async_function::SequenceCounters;
5049
pub use transform_async_function::TransformAsyncFunction;

src/query/service/src/pipelines/processors/transforms/new_hash_join/join.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ pub trait Join: Send + Sync + 'static {
2727

2828
/// Get build data for runtime filter
2929
/// Returns (build_chunks, build_num_rows)
30-
fn get_build_data_for_runtime_filter(&self) -> (&[DataBlock], usize);
30+
fn get_build_data_for_runtime_filter(&self) -> (&[DataBlock], usize) {
31+
(&[], 0)
32+
}
3133

3234
fn probe_block(&mut self, data: DataBlock) -> Result<Box<dyn JoinStream + '_>>;
3335

0 commit comments

Comments
 (0)