From 0469e4a9229dc682ab91dd61b9b5627c4c9e538b Mon Sep 17 00:00:00 2001 From: Yanxin Xiang Date: Fri, 16 Feb 2024 15:58:29 -0600 Subject: [PATCH] adding internal_err --- datafusion/proto/src/bytes/mod.rs | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/datafusion/proto/src/bytes/mod.rs b/datafusion/proto/src/bytes/mod.rs index 2cf437e2d193..6d5a7c7f3063 100644 --- a/datafusion/proto/src/bytes/mod.rs +++ b/datafusion/proto/src/bytes/mod.rs @@ -144,19 +144,25 @@ impl Serializeable for Expr { &mut self, _udaf: Arc, ) -> Result>> { - unimplemented!() + datafusion_common::internal_err!( + "register_udaf called in Placeholder Registry!" + ) } fn register_udf( &mut self, _udf: Arc, ) -> Result>> { - unimplemented!() + datafusion_common::internal_err!( + "register_udf called in Placeholder Registry!" + ) } fn register_udwf( &mut self, _udaf: Arc, ) -> Result>> { - unimplemented!() + datafusion_common::internal_err!( + "register_udwf called in Placeholder Registry!" + ) } } Expr::from_bytes_with_registry(&bytes, &PlaceHolderRegistry)?;