Yes. Even a normal (non-generic) UDF might work if all columns can be converted to the same type. UDF can accept variable-length of arguments of the same type.
it will be a great addition to let UDF/UDAF handle * (as well as `regex`). The change is all compile-time, and is relatively simple. Zheng On Wed, Jul 7, 2010 at 8:31 PM, Edward Capriolo <edlinuxg...@gmail.com> wrote: > > You could write a generic UDF since they accept arbitrary signature, > but you would have to pass each column specifically (no * support) > -- Yours, Zheng http://www.linkedin.com/in/zshao