vollt
vollt copied to clipboard
ADQL Parser failing on s_region declared as per TAP1.1 (via xtype)
According to TAP1.1, I set the ivoa.ObsCore s_region field in TAP_SCHEMA.columns as follows:
- datatype=”char”
- arraysize=”*”
- xtype=”adql:REGION”
When querying with a constraint like: INTERSECTS(s_region,...)=1 , the ADQL Parser returns the error: Type mismatch! A geometry was expected instead of "s_region"
Also, when using a UDF with 2 region arguments (ESO_INTERSECTION(region1, region2)), an error is raised because the parser expects ESO_INTERSECTION(string, string).
Am I doing something wrong?
Thanks!