Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADQL support #21

Open
Dav-v opened this issue May 13, 2020 · 2 comments
Open

ADQL support #21

Dav-v opened this issue May 13, 2020 · 2 comments

Comments

@Dav-v
Copy link

Dav-v commented May 13, 2020

Hi,
are there any plans to add ADQL support to AXS? Since a lot of archives are already using ADQL as their query language it could be useful to have also this interface, not only for cross-matches but even for other database queries (cone searches etc.). I see that there are some libraries that could help translating an ADQL query into an SQL one, like ADQL Library (Java) and queryparser (python). Could this be feasible? The biggest problem that I could think of would be how to ensure that AXS's optimizations are used even when plain ADQL queries are launched, so that the user doesn't have to manually specify to join on cat1.zone = cat2.zone during a cross-match , or to exclude duplicates for example. A solution could be to add some new ad-hoc ADQL functions or (maybe better but probably more difficult) to add a sort of optimization layer during the ADQL->SQL translation that automatically takes these aspects into account.

Thanks,
Davide Viero

@mjuric
Copy link
Member

mjuric commented May 13, 2020

@ctslater has been working on something related over the past few months (a TAP service front-end). I think it looks doable, but some aspects of it are really messy (with how Spark implements Hive support). Colin can add more.

@Dav-v
Copy link
Author

Dav-v commented May 14, 2020

Ok thanks, of course a full TAP front-end would be even better

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants