gstvg opened a new pull request, #22106:
URL: https://github.com/apache/datafusion/pull/22106

   ## Which issue does this PR close?
   
   Follow up of #21679 
   
   ## Rationale for this change
   
   As noted by @LiaCastaneda in [#21679 
(comment)](https://github.com/apache/datafusion/pull/21679/changes#r3152449038),
 the higher-order signature can be made less error prone by removing the need 
to set the `coerce_values_for_lambdas` field when `coerce_values_for_lambdas` 
should be called
   
   
   ## What changes are included in this PR?
   
   Remove 
`HigherOrderSignature.coerce_values_for_lambdas/with_coerce_values_for_lambdas` 
and modify `HigherOrderUDF::coerce_values_for_lambdas` return from 
`Result<Vec<DataType>>` to `Result<Option<Vec<DataType>>>`, and it's default 
implementation which now returns `Ok(None)` instead of an error
   
   ## Are these changes tested?
   
   Existing test cover the change
   
   ## Are there any user-facing changes?
   
   To unreleased items only
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to