spark icon indicating copy to clipboard operation
spark copied to clipboard

[FEATURE REQUEST]: Increase number of UDF parameters

Open joelcochran opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. UDFs currently have a limit of 10 input parameters. They are wrapped by C# Func<> which allow up to 16 input parameters.

Describe the solution you'd like Increase the number of input parameters in UDFs to have parity with Func.

Describe alternatives you've considered The workaround is to collapse parameter values for calling the UDF and rehydrate them inside the underlying method. This works, but adds overhead to the Notebook.

image image image image

Additional context Code: UDF source file Documentation: .NET Func with 16 inputs

joelcochran avatar Dec 07 '21 16:12 joelcochran

@suhsteve is there any reason not to implement this? Should be an easy fix?

GoEddie avatar Dec 10 '21 16:12 GoEddie

@GoEddie yeah I think this is a reasonable request. Should be easy to fix.

suhsteve avatar Dec 14 '21 06:12 suhsteve