Skip to content

Translate box search in ADQL #18

@gitosaurus

Description

@gitosaurus

Feature request

The following AQDL:

SELECT diaObjectId FROM ppdb.DiaObject as diaobj WHERE diaobj.ra >= 186 and diaobj.ra < 187

can be translated to

compute(ppdb.box_search(ra=(186,187), dec=(-90,90))["diaObjectId"])

Technically, it would also work to simply turn the conditions into the DNF filters= or into a .query, but it is much better to detect a box search as such so that the spatial sorting of LSDB can be leveraged.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions