Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
dqhl76 committed Nov 27, 2024
1 parent 0910d94 commit 58275f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 1 addition & 5 deletions src/query/catalog/src/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,7 @@ pub trait Table: Sync + Send {
) -> Result<Option<Pipeline>> {
let (_, _, _) = (table_ctx, plan, source_pipeline);

Err(ErrorCode::Unimplemented(format!(
"The 'build_prune_pipeline' operation is not implemented for the table '{}'. Table engine type: '{}'.",
self.name(),
self.get_table_info().meta.engine
)))
Ok(None)
}

/// Assembly the pipeline of appending data to storage
Expand Down
4 changes: 1 addition & 3 deletions src/query/service/src/pipelines/builders/builder_scan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ impl PipelineBuilder {
self.ctx.set_partitions(scan.source.parts.clone())?;
self.ctx
.set_wait_runtime_filter(scan.scan_id, self.contain_sink_processor);
if self.ctx.get_settings().get_enable_prune_pipeline()?
&& table.get_table_info().meta.engine == *"FUSE"
{
if self.ctx.get_settings().get_enable_prune_pipeline()? {
if let Some(prune_pipeline) = table.build_prune_pipeline(
self.ctx.clone(),
&scan.source,
Expand Down

0 comments on commit 58275f3

Please sign in to comment.