0 votes
9 views

Hi! I get an error when trying to use the TAP cone search:

Query (from TAP examples):

SELECT
   TOP 1000
   *
   FROM smash_dr2.source
   WHERE 
      1=CONTAINS(POINT('ICRS', ra, dec),
                 CIRCLE('ICRS', 79.786, -69.656, 0.05 ))

Exception:

java.io.IOException: PSQLException: ERROR: function point(unknown, double precision, double precision) does not exist
  Hint: No function matches the given name and argument types. You might need to add explicit type casts.
  Position: 974
at uk.ac.starlink.vo.TapQuery.readResultVOTable(TapQuery.java:671)
at uk.ac.starlink.vo.TapQuery.executeSync(TapQuery.java:246)
at uk.ac.starlink.vo.TapTableLoadDialog$6.loadTables(TapTableLoadDialog.java:539)
at uk.ac.starlink.table.gui.TableLoadWorker.run(TableLoadWorker.java:118)
asked Nov 24 by minzastro (340 points) | 9 views

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

282 questions

281 answers

315 comments

1,886 users

Welcome to Data Lab Help Desk, where you can ask questions and receive answers from other members of the community.