[FEATURE REQUEST]: Increase number of UDF parameters
- Dominant language
- C#
- Stars
- 2.1k
- Forks
- 332
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 9
Description
**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.




**Additional context**
Code: [UDF source file](https://github.com/dotnet/spark/blob/c79cf8fad49e4760e6f6b4c8fe31a59f0fa306c4/src/csharp/Microsoft.Spark/Sql/DataFrameUdfWrapper.cs)
Documentation: [.NET Func with 16 inputs](https://docs.microsoft.com/en-us/dotnet/api/system.func-17?view=net-6.0)
Contributor guide
Assessment
This issue has not been assessed yet.