Re: Built-in functions to manipulate MULTISET type

2021-09-19 Thread Kai Fu
Hi Seth, This is really helpful and inspiring, thank you for the information. On Sun, Sep 19, 2021 at 11:06 PM Seth Wiesman wrote: > Hi, > > I agree it would be great to see these functions built-in, but you do not > need to write a UDF for each type. You can overload a UDFs type inference > an

Re: Built-in functions to manipulate MULTISET type

2021-09-19 Thread Yuval Itzchakov
Hi Seth, You're right, but you still have to roll your own type inference for all supported types you want, which isn't terrible but not ideal. On Sun, Sep 19, 2021, 18:06 Seth Wiesman wrote: > Hi, > > I agree it would be great to see these functions built-in, but you do not > need to write a U

Re: Built-in functions to manipulate MULTISET type

2021-09-19 Thread Seth Wiesman
Hi, I agree it would be great to see these functions built-in, but you do not need to write a UDF for each type. You can overload a UDFs type inference and have the same capabilities as built-in functions, which means supporting generics. https://github.com/apache/flink/blob/master/flink-examples