vollt
vollt copied to clipboard
Return type of user defined function
Hi,
I'm trying to define a UDF with the following signature:
INTERSECTION(region1 region, region2 region) -> region
I provided a class that implements it and it works, but if I use it in a select I don't get the desired format because the return value is interpreted as UNKNOWN instead of REGION.
Do I have to define it in my UDF class? IF so, how?