Skip to content
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

Default query in cross-match form doesn't run #2

Open
dobos opened this issue Nov 24, 2017 · 1 comment
Open

Default query in cross-match form doesn't run #2

dobos opened this issue Nov 24, 2017 · 1 comment
Labels

Comments

@dobos
Copy link
Member

dobos commented Nov 24, 2017

The default query in the cross-match form doesn't run anymore. The issue is that the catalog GALEX is no longer available as it was very old and now we have GALEXGR6 instead. A fully meaningful error message is returned from SkyQuery but it’s eaten by the ajax client and not displayed.

This is the correct example:

SELECT s.objid, s.ra, s.dec, g.objid, g.ra, g.dec, x.ra, x.dec
INTO twowayxmatch
FROM XMATCH(
MUST EXIST IN SDSSDR7:PhotoObjAll AS s
WITH(POINT(s.ra, s.dec), ERROR(0.1, 0.1, 0.1)),
MUST EXIST IN GALEXGR6:PhotoObjAll AS g
WITH(POINT(g.ra, g.dec), ERROR(0.2, 0.2, 0.2)),
LIMIT BAYESFACTOR TO 1e3
) AS x
WHERE s.ra BETWEEN 0 AND 5 AND s.dec BETWEEN 0 AND 5
AND g.ra BETWEEN 0 AND 5 AND g.dec BETWEEN 0 AND 5

@dobos dobos added the bug label Nov 24, 2017
@dobos
Copy link
Member Author

dobos commented Nov 24, 2017

I've added the fix as 82bbf97
The change might need to be backported to older DRs which have the cross-match form.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant