From d997df11b8a07ba6eac9579c25078c518b59fdfd Mon Sep 17 00:00:00 2001 From: Tim Saucer Date: Mon, 23 Sep 2024 08:32:25 -0400 Subject: [PATCH] Update template for how values are passed to update --- python/datafusion/udf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/datafusion/udf.py b/python/datafusion/udf.py index c79241ef..3ef51cd2 100644 --- a/python/datafusion/udf.py +++ b/python/datafusion/udf.py @@ -152,7 +152,7 @@ def state(self) -> List[pyarrow.Scalar]: pass @abstractmethod - def update(self, values: pyarrow.Array) -> None: + def update(self, *values: pyarrow.Array) -> None: """Evaluate an array of values and update state.""" pass