Skip to main content

Data profiling

Before answering about a table, it helps to know what is in it: that orderstatus holds O, F and P, that totalprice goes from 929.03 to 466,001.28, that comment is free text. Qry learns this by profiling: reading a sample of each table and keeping, per column, its distinct values, how many are missing, its range and its most frequent values.

A table's Profiling tab: sample rows, completeness, and per column its type, distinct and missing values, range and most frequent values.

What it changes​

  • Answers filter on real values. The model sees each column's profile with its name and type. Asked for "open orders", it can filter on orderstatus = 'O' rather than guess 'OPEN'.
  • Readiness knows the codes. A column with a few short values is a code; Readiness for AI counts which codes nothing explains, and Draft with Qry can explain them.
  • Anyone can look. Every table's Profiling tab shows what Qry knows of it, and when it last looked.

Where it comes from​

Administrators schedule it per data source, or profile a schema or a table when it is needed — from the schema's readiness or the table page, where the gap shows. Anyone else can ask for a schema to be profiled, and its administrators are notified. How it runs, what it costs on each engine and how to schedule it: Profiling in the admin guide.

What it is not​

  • A sample, not a census. "Sample rows" is how many rows Qry read (10,000 by default), not the size of the table, and the range is the sample's.
  • Not a copy of personal data. The most frequent values are not shown — to the model or on the page — for columns an access tag marks or whose name or values look like personal data (e-mail, phone, ID numbers, IBAN, names). Counts and ranges are.
  • Not data-quality monitoring. Profiling keeps the latest profile of each table; it does not keep a history, raise alerts or compare one run with the last.

See also​