Running total and rank (DuckDB SQL window functions)
openflange/running-totalv0.1.0
Adds a per-customer running total and an overall rank by amount to every order, using SQL analytical window functions in DuckDB.
Reference it in one line
Name the pipe in a pipeline. A registry reference is resolved through an index file; the lockfile then pins exactly what you got.
nodes:
running-total:
pipe: openflange/running-total@0.1openflange inspect openflange/running-total
openflange resolveOr skip the registry and reference the source directly:
pipe: git:https://github.com/openflange/openflange-go#ce7146e85e81b5e88f1abb59bf503f511e162555:examples/duckdb-sql/running-totalAvailable — v0.0.1 (experimental) The openflange CLI, release v0.0.1 (experimental):
go install github.com/openflange/openflange-go/cmd/openflange@v0.0.1Contract
This registry index does not include port details. The manifest linked under “Versions” is the authoritative contract: it lists every input, output and parameter.
- Identifier
openflange/running-total- Latest version
- 0.1.0
- Licence
- Apache-2.0 (chosen by the publisher)
- Languages
- SQL
- Runtimes needed
- DuckDB, Subprocess
- Media types
application/x-ndjson- Keywords
- duckdb, sql, window-function, running-total, rank, example
Distribution
The registry points at the source; it does not host or copy it.
- Type
- Git
- Location
- https://github.com/openflange/openflange-go
- Path
examples/duckdb-sql/running-total
Versions
| Version | Published | Manifest | Revision | Integrity |
|---|---|---|---|---|
| 0.1.0 latest | 2026-12-03 | OPENFLANGE.md | ce7146e85e81… | sha256-863a3fe0a9b5… |
Each version links to an immutable manifest. The integrity value is a SHA-256 of that file; openflange run --locked refuses to run if it differs. Generated from registry commit 9fe025be6a79….