[Mondrian] UDF and result type

Anton Nikitin cybernelly at gmail.com
Mon Jul 16 06:32:32 EDT 2007


I have a question about User Defined Functions.

AFAIK, UDF is resolved into UdfResolver.UdfFunDef instance which derives
from FunDefBase.
It forces using getResultType() from FunDefBase which doesn't work correctly
in our case (FunDefBase.guessResultType() provides incorrect result). In
turn, it is impossible to implement anything in UDF class to correct its
behavior (in contrast to FunDef-based approach, where I could simply
override getResultType()).

Any thoughts, workarounds?



More information about the Mondrian mailing list