Table profiling from planner statistics
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
Research direction
Start by reading the table filter work in issue #297 and the existing PostgreSQL and MySQL statistics support. The issue calls for a design pass covering both databases before implementation; define how approximate statistics, stale or missing data, and explicit sampled reads are presented. Done means the design and implementation cover per-column summaries, compact bars, most common values, and documentation, while leaving correlations out.
Written by the indexing model from the issue text.
Description
Summary
A quick picture of a table's columns without reading the table: null share, distinct values, most common values and value ranges, taken from the statistics the database already keeps for its query planner.
Scope
In:
- Per-column summary from planner statistics (PostgreSQL column statistics, MySQL histograms)
- Compact bars in the column list: composition for categorical columns (including the null share), a range bar for numbers and dates
- Selecting a column shows its most common values
- Exact numbers only on explicit request, from a sample, with a confirmation and a time limit
Out (for now): correlations between columns.
Design notes
- No table reads by default: the profile comes from statistics only, labelled as approximate together with the age of the statistics.
- Missing or stale statistics are shown as unknown, never as zero.
- A design pass comes first, covering PostgreSQL and MySQL together.
Status
Planned, after the table filter work (#297).
Related
- Design
- Implementation (PostgreSQL and MySQL)
- Docs
Plan history
- 2026-11-10: Issue opened. Planned after the table filter work, which was moved ahead of it.
- Dominant language
- Rust
- Stars
- 166
- Forks
- 8
- Avg merge
- 4h 24m
- Merged PRs (30d)
- 291
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DokaDev/datarig
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 32/100
DokaDev/datarig#544 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 Half a day Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 Half a day Newbie friendliness 55/100
Maintainers usually reply within 1 day
Similar issues
-
area:compat area:operations documentation ready-for-agent type:afk
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
ZcashFoundation/zinder#552 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
storytold/vectorcraft#9229 ·
Maintainers usually reply within 1 day