Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/caltech-ipac/adql
Python utility for converting ADQL to local SQL, including generic spatial indexing.
https://github.com/caltech-ipac/adql
Last synced: about 1 month ago
JSON representation
Python utility for converting ADQL to local SQL, including generic spatial indexing.
- Host: GitHub
- URL: https://github.com/caltech-ipac/adql
- Owner: Caltech-IPAC
- License: bsd-3-clause
- Created: 2020-05-20T19:34:31.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-24T18:31:25.000Z (almost 3 years ago)
- Last Synced: 2024-10-08T17:06:15.802Z (3 months ago)
- Language: Python
- Size: 85 KB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ADQL
ADQL to Local SQL TranslatorADQL is a variant of SQL. It is not understood by DBMSs, primnarily because ADQL supports for spatial constraints on the sky.
One approach to supporting ADQL is to extend the DBMS with these ADQL-specific
constructs. The alternate approach taken here is to translate the ADQL into
local SQL before sending it to the DBMS.Since we also want to make use of spatial indexing to speed up spatial searches,
we include in this translation additional spatial index column constraints.
This requires reference to special added columns.The hope is that this code can be leveraged by others who either wish to add
spatial indexing to their DBMS the same way we have or would like a starting
place for developing code around their own DBMS.This package is complementary to but independent of our implemetation of the
IVOA Table Access Protocol (TAP); a web service for managing remote database
requests for astronomy in a general way. TAP manages requests/results and is
generally fed ADQL. This ADQL translator is used by our TAP implementation
to turn ADQL into SQL the local DBMS can handle directly.Since this is pure Python, the PyPI package can be built with a simple
"python setup.py bdist_wheel".