Skip to content

docs(playground): runnable POCs for the 1.52.0 feature wave#935

Merged
hugocorreia90 merged 1 commit into
mainfrom
docs/document-1.52.0-pocs
Jun 19, 2026
Merged

docs(playground): runnable POCs for the 1.52.0 feature wave#935
hugocorreia90 merged 1 commit into
mainfrom
docs/document-1.52.0-pocs

Conversation

@hugocorreia90

Copy link
Copy Markdown
Contributor

PR 3 (final) of the docs/POC sweep (after #930 reference docs, #934 discovery docs). The audit found no runnable POC natively authored any of the 1.52.0 features — this adds them.

Six new credential-free DuckDB POCs

Each has a run.sh I re-ran end-to-end against the built 1.52.0 binary (EXIT 0), and each was independently verified to genuinely exercise its feature (not a vacuous pass):

POC Feature Proof
00-foundations/13-surrogate-keys [[surrogate_key]] injects a 32-char MD5 hash column into the materialized table; byte-identical to dbt_utils.generate_surrogate_key (recomputed over the full table, incl. the NULL-sentinel path)
00-foundations/14-config-groups config groups fans schema_template+strategy+tags to 3 members → 3 distinct schemas; broken/ siblings prove the enforce and pinned-schema+[args] load guards (with negation tests)
01-quality/09-named-tests [[use_test]] one test_definitions.toml applied across models with column/severity overrides, alongside inline [[tests]]
01-quality/10-unit-tests [[test]] fixture givenexpect unit tests; unit_tests summary reports all passing (multiset + ordered)
04-governance/09-model-tags-inheritance model [tags] group baseline inherited, overridden per-key by a model's own [tags]; visible in rocky compile --output json
06-developer-experience/21-emit-sql-exit-path rocky emit-sql renders a 3-model DAG to plain .sql, then runs it through DuckDB with no Rocky — the no-lock-in exit path

Plus 06-developer-experience/12-catalog-emit extended with a [columns.<name>] description on a projected column, surfaced as CatalogColumn.description in rocky catalog --output json.

Cascade + hygiene

  • scripts/update-poc-counts.sh run: README catalog rows added + counts updated (94 total / 82 credential-free), idempotent — satisfies poc-counts-drift.yml.
  • All run.sh: set -euo pipefail (the config-groups one uses set -uo pipefail deliberately, matching the broken-sibling precedent), bare rocky, credential-free, state cleaned.
  • No build artifacts committed (poc.duckdb / *.redb / .rocky/ / expected/ are gitignored). GOLD/proprietary grep clean.

Docs-only/examples PR — like #930/#934 it'll sit BLOCKED on engine checks that never run; merge with gh pr merge --squash --admin.

🤖 Generated with Claude Code

…g-emit

Six new credential-free DuckDB POCs demonstrating the engine 1.52.0 wave, each
with a run.sh validated end-to-end against the 1.52.0 binary:
- 00-foundations/13-surrogate-keys — [[surrogate_key]] injects a dbt_utils-identical MD5 hash column at run
- 00-foundations/14-config-groups — models/groups/*.toml fan-out + enforce/misplacement load guards (broken/ siblings)
- 01-quality/09-named-tests — test_definitions.toml + [[use_test]] with column/severity overrides
- 01-quality/10-unit-tests — fixture-driven [[test]] given/expect run by rocky test
- 04-governance/09-model-tags-inheritance — config-group [tags] baseline + per-key sidecar override
- 06-developer-experience/21-emit-sql-exit-path — rocky emit-sql then run the SQL through DuckDB, no Rocky

Also extends 06-developer-experience/12-catalog-emit with a [columns.<name>]
description on a projected column, surfaced in rocky catalog --output json.

poc-counts cascade applied (README counts + catalog rows; 94 total / 82 credential-free).
@hugocorreia90 hugocorreia90 merged commit 17b685a into main Jun 19, 2026
8 checks passed
@hugocorreia90 hugocorreia90 deleted the docs/document-1.52.0-pocs branch June 19, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant