Skip to content

Commit 75f508f

Browse files
zzylolclaude
andcommitted
docs: label §5 operator descriptions as operator definitions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01W7qG9aFyPij5uWsyAJCxDW
1 parent 2956174 commit 75f508f

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎docs/design_docs/proposals/asap-primitive-schema.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ All examples read a table, so values are `Relation`. For PromQL series they woul
410410

411411
### 5.1 `SummaryAgg`: values → state
412412

413-
**What it does.** Turns rows into summary state: one state per group.
413+
**Operator definition.** Turns rows into summary state: one state per group.
414414

415415
**Example.** p99 latency by job, from a KLL sketch with `k = 200`, over table `t`, using only US rows with latency under 10 s.
416416

@@ -445,7 +445,7 @@ coverage() of the SummaryAgg
445445

446446
### 5.2 `SummaryEstimate`: sketch state → value
447447

448-
**What it does.** Reads a number out of a sketch, for example a quantile or a count.
448+
**Operator definition.** Reads a number out of a sketch, for example a quantile or a count.
449449

450450
**Example.** Read p99 and p50 from the state in 5.1. One state feeds both readouts.
451451

@@ -480,7 +480,7 @@ coverage() of the SummaryAgg
480480

481481
### 5.3 `FinalizeExactAccumulator`: exact state → value
482482

483-
**What it does.** Turns an exact accumulator (sum, count, min, max, rate, …) into its final value.
483+
**Operator definition.** Turns an exact accumulator (sum, count, min, max, rate, …) into its final value.
484484

485485
**Example.** Total bytes by host, with an exact `Sum` accumulator.
486486

@@ -515,7 +515,7 @@ coverage() of the SummaryAgg
515515

516516
### 5.4 `MaintainPopulation`: values → maintained membership (state)
517517

518-
**What it does.** Keeps every value of a population (not a sketch), so that exact quantiles and top-k can be computed later, and tracks rows entering and leaving.
518+
**Operator definition.** Keeps every value of a population (not a sketch), so that exact quantiles and top-k can be computed later, and tracks rows entering and leaving.
519519

520520
**Example.** Keep all latencies per job, so that p99 and top-10 can be computed later (5.5).
521521

@@ -540,7 +540,7 @@ coverage() of the SummaryAgg
540540

541541
### 5.5 `EvaluatePopulation`: maintained membership → value
542542

543-
**What it does.** Computes an exact statistic from a maintained population.
543+
**Operator definition.** Computes an exact statistic from a maintained population.
544544

545545
**Example.** p99 and the top-10 latencies by job, both from the one population in 5.4.
546546

@@ -573,7 +573,7 @@ coverage() of the SummaryAgg
573573

574574
### 5.6 `SummaryMerge`: state × N → state (merge and rollup)
575575

576-
**What it does.** Combines several states of the same kind into one. With `group_by` (planned) it can also make the grouping coarser (rollup).
576+
**Operator definition.** Combines several states of the same kind into one. With `group_by` (planned) it can also make the grouping coarser (rollup).
577577

578578
**Status.**
579579

0 commit comments

Comments
 (0)