AQL is both a query language and a metric definition language. It leverages the data semantic model defined with AML to allow you to query your data in a higher abstraction manner, especially composing and reusing metric-based queries.
AQL is designed based on Metrics-centric Thinking paradigm. In AQL, metrics are elevated to first-class status, which means they can be defined, manipulated and reused, independently from tables and models.
When executed, AQL compiles to SQL and thus works with most databases that use SQL. Currently supported databases are PostgreSQL, Amazon Redshift, Google BigQuery, Snowflake, Databricks, Microsoft SQLServer, Clickhouse; and more are being added.
AQL documentation are organized into the following sections:
- Getting Started with AQL: Instructions on how to set up AQL and a short tutorial on basic capabilities of the language
- Learning AQL: More in-depth guides that teaches the core concepts of AQL
- AQL Reference: sections that give detailed reference about different components of AQL such as:
- Analytic Use Cases: Analytic use cases that leverages AQL's power