We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0bce84 commit 5fb08d6Copy full SHA for 5fb08d6
python/datafusion/user_defined.py
@@ -262,7 +262,7 @@ def double_udf(x):
262
263
def _function(
264
func: Callable[..., Any],
265
- input_types: list[pa.DataType],
+ input_types: list[pa.DataType | pa.Field],
266
return_type: pa.DataType | pa.Field,
267
volatility: Volatility | str,
268
name: Optional[str] = None,
@@ -284,7 +284,7 @@ def _function(
284
)
285
286
def _decorator(
287
288
289
290
0 commit comments