Description
Storm-sql uses cacite's code generator. For UDAF with non standard return types, the generated code does not compile.
E.g. For an UDAF that returns a List<T> cacite converts the return type to SQL type "OTHER" and finally inserts a cast to Object[] in the returned code which fails to compile with "java.lang.ClassCastException: java.util.ArrayList cannot be cast to [Ljava.lang.Object;"
Attachments
Issue Links
- links to