incubator-gluten icon indicating copy to clipboard operation
incubator-gluten copied to clipboard

UDF and UDAF do not support Variable length parameter

Open liujp opened this issue 10 months ago • 3 comments

if I want to run a sql: select fun(c1, c2, c3, c4) from table; select fun("add_4_cols", c1, c2, c3, c4) from table; select fun("add_6_cols", c1, c2, c3, c4, c5, c6) from table; so, I want to use variable length parameter in udf/udaf function, and how to realize it;

image

liujp avatar Mar 29 '24 03:03 liujp

@marin-ma thx~

liujp avatar Mar 29 '24 07:03 liujp

@liujp The UDF support in Gluten is still under active development and is immature as for now. But seems like your use cases are very widely covered. Apart from the unsupported functionalities that are already known, to further enhance the UDF framework, it would be very helpful if you could share specific examples from your use cases and problems you've met.

It's also welcomed if you are interested in implementing this feature.

marin-ma avatar Mar 29 '24 08:03 marin-ma

@liujp The UDF support in Gluten is still under active development and is immature as for now. But seems like your use cases are very widely covered. Apart from the unsupported functionalities that are already known, to further enhance the UDF framework, it would be very helpful if you could share specific examples from your use cases and problems you've met.

It's also welcomed if you are interested in implementing this feature.

I am a newer for gluten project and recently received some requirements related to the use of UDFs. I will do my best to contribute some of my use cases, and I am also very pleased to implement this feature

liujp avatar Mar 29 '24 08:03 liujp