SuperAPI AI Directory

anfra-validate-aql

Data & analytics

View repository

Updated 11-18 16:17

About this skill

Validating AQL

Command (swappable per scenario)

Default (Anfra) — type-check without running:

anfra query validate --dataset <uname> '<query>'
# or
cat query.aql | anfra query validate --dataset <uname>

It prints the diagnostics, each with its line and column; it exits 1 when any is an error.

You can validate a single expression (a metric, a filter, one calculation) — not only a whole explore.

Replace this command for other runtimes if needed.

Writing valid queries

Use (syntax, functions, gotchas) and (workflow) to write correct AQL and to fix whatever validation reports.


anfra skills 0.21.0