-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grammar fix for DISTANCE #6
Comments
May I ask if there are news about this issue? Thanks!!! |
I'd like to poll the status of this old ticket: any news on this topic? Thanks! |
To clarify: my issue is that, while the query (1) below works well, the query (2) does not: The error is due to the fact that DISTANCE does not suppot the CENTROID. |
According to the following rules (v2.1), a
DISTANCE
function can accept onlyPOINT
functions and column references:So, it makes impossible to write the following ADQL query:
Since
CENTROID
returns aPOINT
, the above query should be correct.This issue is a request to change the BNF so that a
coord_value
includes theCENTROID
function:coord_value
being used only byDISTANCE
,COORD1
andCOORD2
, this modification would be totally harmless. Of course, any other suggestion of modification allowing the usage ofCENTROID
inDISTANCE
is welcome.--
This issue has been originally raised by @almicol and @vforchi on another GitHub issue in the gmantele/taplib repository.
The text was updated successfully, but these errors were encountered: