@@ -19,10 +19,10 @@ import {
1919
2020/**
2121 * @file InlineProfileDistributionCell.tsx
22- * @description DRC-3390 Stage C — the schema-grid cell container that turns a
23- * single column's {@link ProfileDistributionColumnPayload} into the right
24- * Stage A paired-histogram leaf, and renders the loading / error / empty /
25- * per-column-failure states around it.
22+ * @description The schema-grid cell container that turns a single column's
23+ * {@link ProfileDistributionColumnPayload} into the right paired-histogram
24+ * leaf, and renders the loading / error / empty / per-column-failure states
25+ * around it.
2626 *
2727 * This is the one place the snake_case wire payload is mapped to the
2828 * camelCase cell props, and the only place that has to know the column's dbt
@@ -50,10 +50,10 @@ export interface InlineProfileDistributionCellProps {
5050 columnType ?: string ;
5151 /**
5252 * Envelope-level row totals — the denominator for counts-mode proportions.
53- * Unused in ranks mode (the DuckDB Stage B path that ships today), so
54- * optional. NOT speculative: Stage D's full adapters (Snowflake/BigQuery
55- * top-K return value+count pairs) emit counts mode, so this is threaded now
56- * to match the single `run.ts` payload contract rather than retrofitted then .
53+ * Unused in ranks mode (the DuckDB path that ships today), so optional. NOT
54+ * speculative: full warehouse adapters (Snowflake/BigQuery top-K return
55+ * value+count pairs) emit counts mode, so this is threaded now to match the
56+ * single `run.ts` payload contract rather than retrofitted later .
5757 */
5858 baseTotal ?: number ;
5959 currentTotal ?: number ;
@@ -65,9 +65,9 @@ export interface InlineProfileDistributionCellProps {
6565}
6666
6767/**
68- * Calendar-date types whose histogram edges are seconds since the Unix epoch
69- * (see DRC-3504). Bare `TIME` is deliberately excluded — its edges are
70- * seconds-since-midnight, not an epoch, and is handled by `isTimeOfDayType`.
68+ * Calendar-date types whose histogram edges are seconds since the Unix epoch.
69+ * Bare `TIME` is deliberately excluded — its edges are seconds-since-midnight,
70+ * not an epoch, and is handled by `isTimeOfDayType`.
7171 */
7272function isDatetimeType ( type ?: string ) : boolean {
7373 if ( ! type ) return false ;
@@ -81,8 +81,8 @@ function isDatetimeType(type?: string): boolean {
8181 * Time-of-day types (`TIME`, `TIME WITH/WITHOUT TIME ZONE`). The backend's
8282 * `epoch()` cast emits **seconds-since-midnight** (0–86399) for these, so the
8383 * edges must be read as a clock time, not a calendar date — otherwise every
84- * tooltip collapses to "Jan 1, 1970" (DRC-3390 review note 1) . Matches `time`
85- * but not `timestamp`/`datetime`, which carry real epoch seconds.
84+ * tooltip collapses to "Jan 1, 1970". Matches `time` but not
85+ * `timestamp`/`datetime`, which carry real epoch seconds.
8686 */
8787function isTimeOfDayType ( type ?: string ) : boolean {
8888 if ( ! type ) return false ;
@@ -152,12 +152,12 @@ function toDiscreteData(
152152 trimmed : p . trimmed ,
153153 } ;
154154 }
155- // Counts mode. Stage B ( DuckDB) only emits ranks, so this branch is inert
156- // today — but it's a known future need, not speculation: Stage D's full
155+ // Counts mode. The DuckDB path only emits ranks, so this branch is inert
156+ // today — but it's a known future need, not speculation: full warehouse
157157 // adapters (Snowflake/BigQuery top-K return value+count pairs) emit counts,
158- // and the cell conforms to the whole `run.ts` payload contract now so Stage D
159- // is a backend-only change. A per-slot `null` means the value is absent from
160- // that env's top-K — coerce to 0 so the bar simply doesn't render
158+ // and the cell conforms to the whole `run.ts` payload contract now so adding
159+ // them is a backend-only change. A per-slot `null` means the value is absent
160+ // from that env's top-K — coerce to 0 so the bar simply doesn't render
161161 // (gap-on-absent), which is exactly the cell's 0-height behavior.
162162 return {
163163 mode : "counts" ,
0 commit comments