working with adql astronomy data query language
play

Working with ADQL Astronomy Data Query Language D.Morris Institute - PowerPoint PPT Presentation

Working with ADQL Astronomy Data Query Language D.Morris Institute for Astronomy, Edinburgh University June 2016 Topcat The problem Different platforms Different languages Different formats Aladin D.Morris Institute for Astronomy,


  1. Working with ADQL Astronomy Data Query Language D.Morris Institute for Astronomy, Edinburgh University June 2016

  2. Topcat The problem Different platforms Different languages Different formats Aladin D.Morris Institute for Astronomy, Edinburgh University June 2016

  3. The data Topcat The abstraction Aladin D.Morris Institute for Astronomy, Edinburgh University June 2016

  4. TAP Database Database Topcat Virtual Observatory TAP Aladin Registry TAP Database Database Data discovery Data access Registry Table Access Protocol D.Morris Institute for Astronomy, Edinburgh University June 2016

  5. A D TAP Q Database Database L Topcat Virtual Observatory A D TAP Q L Aladin A D TAP Q Database Database L Astronomy Data Query Language SELECT … FROM table WHERE … D.Morris Institute for Astronomy, Edinburgh University June 2016

  6. A D TAP Q Database Database L Topcat Virtual Observatory A D TAP Q L Aladin A D TAP Q Database Database L ● who Observation Core ● what Data Model ● when D.Morris Institute for Astronomy, ● where Edinburgh University June 2016

  7. The data Topcat Virtual Observatory Aladin Registry Table Access Protocol Astronomy Data Query Language Observation Core Data Model D.Morris Institute for Astronomy, Edinburgh University June 2016

  8. Data provider role Topcat A D TAP Q Database Database L Aladi n Observation Core ● tables Data Model ● columns ● name TAP schema ● type ● units ● UCD D.Morris Institute for Astronomy, Edinburgh University June 2016

  9. Software developer Topcat A D TAP Q Database Database L Aladi n Java Python PostgreSQL TCP/IP Spring Django MySQL HTTP Hibernate Flask SQLServer REST JDBC WebPy Oracle … … ... ... D.Morris Institute for Astronomy, Edinburgh University June 2016

  10. IVOA member Topcat A D TAP Q Database Database L Aladi n Afwfwf Fafas Af ju lk Asf kget hipnd ## !? TAP ADQL TAP ADQL D.Morris Institute for Astronomy, Edinburgh University June 2016

  11. Initial proposal and OFFSET group discussion OFFSET ? Afwfwf ADQL ADQL Fafas Af ju lk Asf kget hipnd SELECT !! …. FROM …. WHERE …. OFFSET n Sometimes the complicated ones are easy, and sometimes D.Morris the simple ones are hard. Institute for Astronomy, Edinburgh University June 2016

  12. Consensus and updated specification OFFSET ADQL ADQL SELECT …. FROM …. WHERE …. Optional features OFFSET n vs range of platforms What do we do if Oracle does D.Morris not support OFFSET Institute for Astronomy, Edinburgh University June 2016

  13. Cosmopterix Docker containers, providing basic install of each database platform. Working A simple platform for experimenting ● PostgreSQL with ADQL syntax. ● MySQL ● MariaDB ● HSQLDB ● Apache Derby ● Oracle (*) Future GitHub project ● H2 - contributions welcome ● SQLite ● SQLServer https://github.com/ivoa/cosmopterix ● Qserv ● SpiderEngine D.Morris Institute for Astronomy, ● Hadoop Edinburgh University June 2016

  14. Lyonetia A place to share example ADQL and SQL queries. Initial goals ● Provide source material for ADQL parser tests ● Provide source material for ADQL query tests Medium term goals ● Provide reference material for science use cases Long term goal ● Future work on validating the BNF grammar GitHub project Afwfwf Fafas Af ju lk - contributions welcome Asf kget hipnd ## !? https://github.com/ivoa/lyonetia ADQL ADQL D.Morris Institute for Astronomy, Edinburgh University June 2016

  15. Open to collaboration Public GitHub projects. Make a clone, add your changes and send me a pull request. Lyonetia – ADQL queries https://github.com/ivoa/lyonetia Cosmopterix- Docker containers https://github.com/ivoa/cosmopterix ADQL-2.1 working draft http://www.ivoa.net/documents/ADQL/20160502/index.html ADQL document - LaTex source https://volute.g-vo.org/viewvc/volute/trunk/projects/dal/ADQL/ Dave Morris D.Morris Institute for Astronomy, dmr@roe.ac.uk Edinburgh University June 2016

Recommend


More recommend