Repository navigation
Conversation
Fourth of four. Covers configuration, the operator matrix, and the parts a reader will reasonably assume the feature covers but it does not. Two sections carry most of the weight. "Transform preserves ordering" explains why the checkbox exists at all, with `hour()` as the worked example -- it is a perfectly reasonable partition transform and mirroring a range through it returns wrong numbers. And "The assumption this rests on" states the invariant plainly: Superset emits a predicate on the partition column standing in for one on the mapped column, which is only valid if the ETL keeps the two in step. Superset cannot verify that, and when it breaks the result is quietly wrong charts rather than an error, so the docs say so rather than letting people discover it. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
|
Bito Automatic Review Skipped - Branch Excluded |
✅ Deploy Preview for superset-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Folding this into #43832 so the docs and the editor UI they describe ship together. The docs commit ( The reason: this page instructs operators to pick a Partition column in the dataset editor and refers to "the editor's preview panel". Those controls land in #43832. Merging this first would publish instructions for controls that do not exist yet. |
Stack (review bottom-up):
SUMMARY
Fourth of four. Documents partition filter mapping for admins: configuration, the operator matrix, and — deliberately — the parts a reader will reasonably assume the feature covers but it does not.
Two sections carry most of the weight:
"Transform preserves ordering" explains why the checkbox exists at all, with
hour()as the worked example. It's a perfectly reasonable partition transform on aTIMESTAMPcolumn, and mirroring a time range through it returns wrong numbers —hour('2026-01-01 23:00')is greater thanhour('2026-01-02 01:00')even though the first instant is earlier."The assumption this rests on" states the invariant plainly. Superset emits a predicate on the partition column standing in for one on the mapped column, which is only valid if
partition_column = transform(mapped_column)for every row. Superset cannot verify that — it's a property of whatever ETL populates the partition column — and when it breaks the result is quietly wrong charts rather than an error. The docs say so rather than letting people discover it.Also documented as explicit non-coverage, because each one will otherwise surprise someone who expects "the dataset is now pruned": filter-value dropdowns don't prune, RLS predicates and custom SQL
WHEREclauses don't mirror, and columns with an active advanced data type don't mirror.docs/static/feature-flags.jsonwas regenerated in PR 1, where the flag is introduced.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
N/A — docs only.
TESTING INSTRUCTIONS
Or read
docs/admin_docs/configuration/partition-filter-mapping.mdxdirectly. The page is picked up automatically by the auto-generatedconfigurationsidebar.ADDITIONAL INFORMATION