astronomy-commons/hats-tap

Translate ADQL ID searches to `.id_search`

Aperta

#14 aperta il 1 dic 2025

 (0 commenti) (0 reazioni) (0 assegnatari)Python (0 fork)auto 404
enhancementgood first issue

Metriche repository

Star
 (1 stella)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Feature request

SELECT * FROM ppdb.DiaObject WHERE diaObjectId=24624704620855420

should become

compute(ppdb.id_search(values={"diaObjectId": 24624704620855420}))

The translator will need to have enough context to know:

  1. That diaObjectId is an ID
  2. To call .id_search rather than .query

Before submitting Please check the following:

  • I have described the purpose of the suggested change, specifying what I need the enhancement to accomplish, i.e. what problem it solves.
  • I have included any relevant links, screenshots, environment information, and data relevant to implementing the requested feature, as well as pseudocode for how I want to access the new functionality.
  • If I have ideas for how the new feature could be implemented, I have provided explanations and/or pseudocode and/or task lists for the steps.

Guida contributor