UDFs, RepeatedVarCharHolder and null values

2015-11-10 Thread Stefán Baxter
Hi, I have a UDF that deals with arrays and concatenates their value. It's working fine with JSON but when working with Avro it returns an error. The error seems a bit misleading as it claims to be bot a schema change exception and a missing function exception. *The error is:* Error: SYSTEM ERR

Re: UDFs, RepeatedVarCharHolder and null values

2015-11-10 Thread Stefán Baxter
So, If anyone else comes across this problem then a workaround is available for RepeatedVarCharHolder not accepting null values. It involves creating an identical function that uses "VarCharHolder input1" instead of the Repeated* one. This function will only be called for non array values and it