Skip to content

Dolt

Module: quality-data (the core).

Dolt is a SQLStructured Query Language The standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. database with version control built in: branches, commits, merges and differences, as in Git, but on tables. Quality Data keeps its rules catalog in it: every ruleRule It applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. and every datasetDataset One table of a source as Quality Data reads it: a name, its fields and the rules that check them.’s mappingMapping How a dataset's table is read: which column each field reads and its type, the record key, each field's priority and the roles of some fields..

What people see in the application is Dolt’s versioning:

  • a draft is a branch of its own, where a rule is written and tested without counting;
  • main is the approved line: only the rules on main are evaluated;
  • approving a draft merges it into main, as one more commit;
  • the history of a rule is the list of commits that touched it, with who made each one and when; going back or undoing is a new commit on top, so nothing on main is ever erased.

Every quality run records the catalog commit it was compiled from, so a 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. can always be traced to the exact rules that produced it. See Take a change to main and See a rule’s history and undo a change.

Only the core’s server talks to Dolt, over Dolt’s MySQL-compatible protocol, on a network the two share with no one else. The connection uses TLSTransport Layer Security The encryption that protects data travelling between two systems; with mutual TLS, both sides prove who they are with a certificate. with a client certificate of the installation (see Mutual TLS) and a password. Dolt publishes no port.

Other parts of the platform never read the catalog: the core compiles the rulesRule It applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. into SQLStructured Query Language The standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. and hands that out.

In a volume on the core’s server, with its databases, users and grants. It is critical: backed up, and the backup checked, before every update. Besides, Dolt’s own backups are copied to the lakeLake Quality Data's own store, where it keeps the cuts it copies from the sources. on a scheduleSchedule What starts a dataset's cuts on its own: daily, weekly, monthly…. Its two passwords are generated at installation and kept as files, never in the repository or the environment.

Dolt has a PostgreSQL-compatible version, Doltgres. It may be considered in the future; nothing in the catalog depends on that choice.

Government Data · Guide v0.8.1