Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions datafusion/proto/src/physical_plan/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1086,8 +1086,8 @@ pub trait PhysicalPlanNodeExt: Sized {
ParquetSource::try_from_proto(self.node(), &decode_ctx)
}
#[cfg(not(feature = "parquet"))]
panic!(
"Unable to process a Parquet PhysicalPlan when `parquet` feature is not enabled"
not_impl_err!(
"Unable to process a Parquet PhysicalPlan when the `parquet` feature is not enabled"
)
}
PhysicalPlanType::AvroScan(scan) => {
Expand Down Expand Up @@ -1423,8 +1423,8 @@ pub trait PhysicalPlanNodeExt: Sized {
}

#[cfg(not(feature = "parquet"))]
panic!(
"Unable to process a Parquet PhysicalPlan when `parquet` feature is not enabled"
not_impl_err!(
"Unable to process a Parquet PhysicalPlan when the `parquet` feature is not enabled"
)
}

Expand All @@ -1449,7 +1449,9 @@ pub trait PhysicalPlanNodeExt: Sized {
}

#[cfg(not(feature = "avro"))]
panic!("Unable to process a Avro PhysicalPlan when `avro` feature is not enabled")
not_impl_err!(
"Unable to process an Avro PhysicalPlan when the `avro` feature is not enabled"
)
}

#[deprecated(
Expand Down
Loading