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
Describe the bug
During the update of Datafusion from 39 to 41, my script got broken because the register_udaf crashes witht he following error:
in SessionContext.register_udaf(self, udaf)
829 def register_udaf(self, udaf: AggregateUDF) -> None:
830 """Register a user-defined aggregation function (UDAF) with the context."""
--> 831 self.ctx.register_udaf(udaf._udaf)
AttributeError: 'AggregateUDF' object has no attribute '_udaf'
* Test no longer hangs, and updated error string to match latest
* Add unit tests for registering udf and udaf
* Resolve error on registering udaf #874
* remove stale comment
* Update unit test text to match in multiple versions of python
* Regex for exception that is compatible with python 3.10 and 3.12
Describe the bug
During the update of Datafusion from 39 to 41, my script got broken because the
register_udaf
crashes witht he following error:To Reproduce
Steps to reproduce the behavior:
Additional context
The bug is introduce in datafusion
40.1.0
The text was updated successfully, but these errors were encountered: