Skip to content

Apache Superset

Module: bi-superset. It needs the capability “SQLStructured Query Language The standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. query”, which Trino provides.

Apache Superset is an open-sourceSource A database the organisation already runs. Quality Data reads it and never writes to it. application for dashboardsDashboard Each dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more. and data exploration. In Government Data it draws the quality indicators: each datasetDataset One table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s dashboard, its charts and their evolution from cutCut The dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. to cut.

  • The dataset’s dashboard appears inside the application’s own page, embedded, so people do not leave Quality Data to read it.
  • People with bi-superset:Author can also open Superset itself, from the apps menu as Analytics, to explore gold’s tables read-only and build charts and dashboards of their own.
  • Superset reaches Trino through one connection, Quality results, which the module makes at install and sets again at every update from the endpoint the query module declares, so no address is typed by hand.
  • The dashboards the platform ships are replaced at each update; a dashboard that someone builds is theirs and stays.

Superset never reads the lake’s files, its catalog or PostgreSQL. It reads gold’s views through Trino, as the person who is looking: Trino applies that person’s row filters, so each one sees only the datasetsDataset One table of a source as Quality Data reads it: a name, its fields and the rules that check them. and groups their policyPolicy A set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. allows. In the embedded dashboardDashboard Each dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more., the core issues a short-lived guest token for that person and that dashboard.

Gold holds no record values, only counts, indicators and the values of the grouping fieldsGrouping field A field (an office, a region, a channel) that the dashboard and the remediation queues split results by. (see Apache Iceberg).

With How
People Its screens through Traefik; sign-in at the core over OpenID Connect
The application’s pages Embedded, with a guest token the core issues
Trino Trino’s client protocol over HTTPSHypertext Transfer Protocol Secure The secure web protocol: the product is reached over it, with the certificate the installer makes., on behalf of the person
Valkey Its cache, on the module’s own network

Superset’s roles come from the person’s permissions in the core, computed at each sign-in, so a change of policyPolicy A set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. reaches Superset at the next one.

Superset keeps its own metadata in a database of its own in PostgreSQL: its users, roles, charts, dashboardsDashboard Each dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more., saved queries and its action log. No indicator is stored there: the numbers stay in gold. Query results are cached in Valkey for a few minutes. Removing the module keeps its database; only a purge deletes it, after a backup.

Government Data · Guide v0.8.1