vollt icon indicating copy to clipboard operation
vollt copied to clipboard

ADQL Parser failing on s_region declared as per TAP1.1 (via xtype)

Open almicol opened this issue 4 years ago • 1 comments

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!

almicol avatar Jan 13 '21 09:01 almicol