Skip to content

Commit

Permalink
adding internal_err
Browse files Browse the repository at this point in the history
  • Loading branch information
Lordworms committed Feb 16, 2024
1 parent 8dcbdda commit 0469e4a
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions datafusion/proto/src/bytes/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,19 +144,25 @@ impl Serializeable for Expr {
&mut self,
_udaf: Arc<AggregateUDF>,
) -> Result<Option<Arc<AggregateUDF>>> {
unimplemented!()
datafusion_common::internal_err!(
"register_udaf called in Placeholder Registry!"
)
}
fn register_udf(
&mut self,
_udf: Arc<datafusion_expr::ScalarUDF>,
) -> Result<Option<Arc<datafusion_expr::ScalarUDF>>> {
unimplemented!()
datafusion_common::internal_err!(
"register_udf called in Placeholder Registry!"
)
}
fn register_udwf(
&mut self,
_udaf: Arc<WindowUDF>,
) -> Result<Option<Arc<WindowUDF>>> {
unimplemented!()
datafusion_common::internal_err!(
"register_udwf called in Placeholder Registry!"
)
}
}
Expr::from_bytes_with_registry(&bytes, &PlaceHolderRegistry)?;
Expand Down

0 comments on commit 0469e4a

Please sign in to comment.