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
Implement equals for stateful functions (apache#16781)
* Implement equals for stateful functions
Default implementation of `ScalarUDFImpl::equals`,
`AggregateUDFImpl::equals` and `WindowUDFImpl::equals` is correct for
stateless functions and those which only state is the `Signature`, which
is most of the functions.
This implements `equals` and `hash_value` for functions that have state
other than `Signature` object.
This fixes correctness issues which could occur when such stateful
functions are used together in one query.
* downgrade for MSRV
* Improve doc
* Update default UDF:: equals to compare aliases too
* Update default UDF:: equals to compare type too (‼️)
* remove now-obsoleted UDF equals/hash customizations
remove these which compare signature, aliases, as the default handles
these now
* remove equals impl which compares name, signature -- default does that
* cleanup imports
(cherry picked from commit afd8235)
0 commit comments