Tangruilin commented on PR #9513:
URL: 
https://github.com/apache/arrow-datafusion/pull/9513#issuecomment-1986766913

   ```rust
   // TODO: add execution_props in ScalarUDF, so that we can get some params 
like query_execution_start_time
   /// Create a physical expression of the UDF.
   ///
   /// Arguments:
   pub fn create_physical_expr(
       fun: &ScalarUDF,
       input_phy_exprs: &[Arc<dyn PhysicalExpr>],
       return_type: DataType,
   ) -> Result<Arc<dyn PhysicalExpr>> {
       Ok(Arc::new(ScalarFunctionExpr::new(
           fun.name(),
           fun.fun(),
           input_phy_exprs.to_vec(),
           return_type,
           fun.monotonicity()?,
           fun.signature().type_signature.supports_zero_argument(),
       )))
   }
   ```
   
   I think I can  add execution_props in ScalarUDF, so that we can get some 
params like query_execution_start_time in next PR
   
   how do you think of it?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to