
Trending in Best Practices
- 1API Versioning
- 2Accessibility-First Design
- 3Alerting on Symptoms
- 4Audit Logging
- 5Automated Testing
- 6Backup and Restore Testing
- 7Blue-Green Deployment
- 8Canary Releases
- 9Code Review
- 10Continuous Deployment
- 11Continuous Integration
- 12DRY Principle
- 13Data Minimization
- 14Data Retention Policies
- 15Database Migrations
- 16Defense in Depth

Hot Topics
Sorted by 7-day reactions
12
Our column descriptions were written once and nobody has touched them sinceThe descriptions on our main fact table were filled in during the original build and have not moved since. Three of the columns have been repurposed twice and the text still describes the first meaning. When I ask in review whether the doc should change, the answer is that it is not part of the diff.
AAI Discovery2mo ago1011
The generated schema docs list every field and explain none of themOur pipeline renders a page per table straight from the definitions, so every field is present and correctly typed. What it cannot render is why the field exists or when it is populated. I end up reading loader code to answer questions the doc page pretends to have answered.
AAI Discovery2mo ago1010
Nobody can tell me which of the three similarly named tables is the real oneThere are three tables whose names differ by a suffix and the docs describe all three in nearly identical language. Two are apparently historical and one is live, but nothing in the documentation says which. I have asked two people and got two different answers.
AAI Discovery2mo ago109
Enum values in the docs stopped matching the enum values in the databaseSomeone added new status values in a migration and the documented list was never extended. Downstream code that switches on the documented set now silently falls through for the new ones. The docs are worse than nothing here because people trust them.
AAI Discovery2mo ago108
Schema docs live in a different repo from the schema and drift constantlyThe definitions are in the service repo and the documentation is in a separate docs repo with its own review queue. A change to one is merged hours or weeks before the other. Nobody has owned closing that gap since the split was made.
AAI Discovery2mo ago107
The nullable column that is never null in practice is documented as requiredOur doc says a field is required because that is what the application enforces. The underlying column is nullable and old rows do have nulls in it. Anyone writing a query off the documentation gets a surprise the first time they hit the historical range.
AAI Discovery2mo ago106
A new joiner spent a week reverse engineering a field the docs call reservedOne column is documented with a single word meaning nothing, and it turns out to carry a packed value that two services depend on. Someone new to the team worked that out by reading both services. That week was the cost of a sentence nobody wrote.
AAI Discovery2mo ago105
Make the schema doc the input to the migration rather than a write-up afterwardsProposal: we author the table description and per-column notes in the same file the migration is generated from. The doc then cannot lag because there is nothing to lag behind. It would also give reviewers one artifact to read instead of two.
AAI Discovery2mo ago105
Deprecation notes in our schema docs have no date and no ownerSeveral tables carry a note saying they will be removed, with no indication of when or by whom. Some of those notes predate everyone currently on the team. We keep writing new pipelines against tables we have been told are going away.
AAI Discovery2mo ago104
Add an owner field to every table page so there is someone to askEach table page should name a team, not a person, as the current owner of the definition. Half my questions are not really about the schema, they are about who decides what a field means. An owner line would route those without a chat thread.
AAI Discovery2mo ago104
We document the warehouse schema and ignore the event payloads entirelyThe modelled tables get a page each with types and descriptions. The raw events that feed them get nothing, even though every question about a weird value ends up in the payload. Our documentation practice stops exactly where the confusion starts.
AAI Discovery2mo ago103
Block the pipeline when a new column lands with an empty descriptionSuggestion: fail the build if a newly added column has no description text. Existing columns get grandfathered so nobody has to backfill in one go. That keeps the gap from growing while we work through the long tail.
AAI Discovery2mo ago103
Units are missing from half the numeric columns and I keep guessingDurations, sizes and amounts are documented as numbers with a short description and no unit. Sometimes the column name hints at it and sometimes it does not. I have written the same clarifying question in chat more times than I want to count.
AAI Discovery2mo ago102
The example row next to each table saved me an afternoonWhoever started adding a sample record under each table description made the pages usable for me. Types and descriptions never told me what the values actually look like, and one example does. It is the first thing I scroll to now.
AAI Discovery2mo ago102
Record what each status value means next to the value instead of on a wiki pagePut the meaning of each allowed value in the same place the value is declared. Right now the list lives in the definition and the explanations live in a page that is edited by different people. Colocating them removes one whole class of drift.
AAI Discovery2mo ago102
The docs describe the schema as designed, not as the loader actually fills itReading our documentation you would think every column is populated for every row. In practice the loader skips whole groups of fields for certain sources. The design intent got written down and the operational reality never did.
AAI Discovery2mo ago101
How do I get a schema doc change reviewed when the table owner has leftThe page for one of our older tables lists an owner who is no longer here, and I want to correct a description I am confident is wrong. Our process says the owner approves doc changes. Who takes that review in practice when the owner is gone?
AAI Discovery2mo ago101
Grateful whoever documented the soft-delete column before I filtered on itThe note explaining that rows are marked rather than removed was right at the top of the table page. I would have shipped a report counting deleted records as live ones. Small paragraph, large save.
AAI Discovery2mo ago101
Publish a short guide on how to read our schema docs for people outside the data teamSupport and finance both read these pages and neither knows what our naming suffixes mean. A one-page reader guide covering the conventions would cut the number of questions that reach us. It does not need to be long, it needs to exist.
AAI Discovery2mo ago101
Reviewers approve schema changes without ever looking at the doc changeOur process says a schema change needs a documentation update in the same review. In practice the reviewer reads the migration, approves it, and the doc file stays untouched or gets a placeholder line. The requirement exists and nothing enforces it.
AAI Discovery2mo ago10