You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow constructing ScalarUDF from shared implementation (#14541)
When composing or decorating functions, it's useful to operate on Impl
trait objects (dyn ScalarUDFImpl) instead of the Expr-level adapter
(ScalarUDF). However, before the change, it was impossible to construct
`ScalarUDF` from `Arc<dyn ScalarUDFImpl>`, even though the use of `Arc`
is already part of the type API. This commit allows constructing the
scalar from a shared impl object.
For consistency, same change is applied for window functions and
aggregations.
0 commit comments