vollt icon indicating copy to clipboard operation
vollt copied to clipboard

return type of UserDefinedFunction is not defined

Open vforchi opened this issue 3 years ago • 6 comments

I developed some custom functions by implementing UserDefinedFunction. One of these functions returns a Timestamp (a DATE in the signature), but when it is in one of the return columns the DBType is null. I think this is because the ADQL parser only considers instances of DefaultUDF and not of UserDefinedFunction. I can't extend DefaultUDF, because it's final.

I can't easily get rid of the custom classes for each function, because I rely this in other parts of the code, is there any other way around it?

vforchi avatar Apr 28 '21 11:04 vforchi