Serge, Daniel
Please see:
https://jira.lsstcorp.org/browse/DM-854
Are you touching the part of the code that is responsible
for that? If not, I am happy to try fixing it, any hints
where to look are very welcome.
SELECT DISTINCT o1.objectId, o2.objectId
FROM Object o1,
Object o2
WHERE scisql_angSep(o1.ra_PS, o1.decl_PS, o2.ra_PS, o2.decl_PS) < 1
AND o1.objectId <> o2.objectId
SELECT DISTINCT o1.objectId AS `o1.objectId`, o2.objectId AS `o2.objectId`
FROM Object o1,
Object o2
WHERE scisql_angSep(o1.ra_PS, o1.decl_PS, o2.ra_PS, o2.decl_PS) < 1
AND o1.objectId <> o2.objectId
I would like to have it fixed before giving Qserv to
google cloud team, as it prevents us from running
near neighbor query.
SELECT DISTINCT o1.objectId AS oid1, o2.objectId AS oid2
FROM Object o1,
Object o2
WHERE scisql_angSep(o1.ra_PS, o1.decl_PS, o2.ra_PS, o2.decl_PS) < 1
AND oid1 <> oid2
should work.
Daniel has some result marshalling rework planned (not sure when it’s scheduled) that may impact what needs to be done in terms of query rewriting (from what I recall, the CREATE TABLEs on the worker are going away). For these reasons I hope asking the user to add aliases is OK for the near term.
Use REPLY-ALL to reply to list
To unsubscribe from the QSERV-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1