Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
IMPORTANT: Please create an issue first before opening a Pull Request.
Linked to issue(s): Closes #773
What changes were proposed in this pull request?
This PR constructs a new table in HBase,
ztf.sso_resolver
, with Solar System numbers & names. We start from allssnamenr
in Fink. We then query quaero to get corresponding name & number (if it exists) for eachssnamenr
, and we construct an index containing the concatenation of (names, numbers,ssnamenr
). This table has then 2 other columns,i:source
that specify the provenance of the index (amongname
,number
, andssnamenr
), andi:ssnamenr
which gives the correspondingssnamenr
of the index. Below, I give example for typical use case.MPC -> ZTF ssnamenr
A user provide a MPC number or name, and wants to know all existing counterparts:
So one sees that the MPC number
624188
points to 3ssnamenr
. Note that the indices have_
which are used internally to deduplicate entries. They should be removed if one wants to use them (MPC does not include any_
in names).MPC -> ZTF ssnamenr -> ZTF alerts
Building from the previous query, one has to just query the
ztf.sso
table then:ZTF ssnamenr -> MPC
This one is slower than others as we have to perform a full scan of a non-indexed column (about 4 seconds for a single
ssnamenr
).What is next?
Update the SSO resolver in the fink-science-portal.
How was this patch tested?
Cloud.