alamb commented on code in PR #16523: URL: https://github.com/apache/datafusion/pull/16523#discussion_r2162390224
########## datafusion-examples/examples/async_udf.rs: ########## @@ -243,9 +252,20 @@ impl AsyncScalarUDFImpl for AsyncEqual { Ok(DataType::Boolean) } + fn invoke_with_args( + &self, + _args: ScalarFunctionArgs, + ) -> Result<ColumnarValue> { + not_impl_err!("AsyncEqual can only be called from async contexts") + } +} + +#[async_trait] + impl AsyncScalarUDFImpl for AsyncEqual { + async fn invoke_async_with_args( &self, - args: AsyncScalarFunctionArgs, + args: ScalarFunctionArgs, Review Comment: It is interesting here that `invoke_async_with_args has a copy of the `config_options` 🤔 -- I think that is soemthing that @Omega359 has tried to get into normal scalar functions for a while -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org