Skip to content

feat: govern dynamic pivot column families - #736

Merged
chio-labs-delivery[bot] merged 1 commit into
mainfrom
feat/dynamic-pivot-contracts
Sep 18, 2026
Merged

chio-labs-delivery[bot] merged 1 commit into
mainfrom
feat/dynamic-pivot-contracts

Conversation

@kvlonge

@kvlonge kvlonge commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Why

Runtime-dynamic pivots produce a closed set of fixed columns plus data-derived column names, but exact static column lists cannot represent that shape. Enforced contracts need first-class metadata and compiler proof for those generated families without weakening wildcard, type, or runtime validation.

Changes

  • add closed, typed contract declarations for runtime-generated pivot column families
  • prove supported Snowflake and DuckDB/MotherDuck dynamic pivots from authoritative input schemas
  • propagate family semantics through runtime validation, planning, manifests, contract inspection/generation, and Rules
  • reject unsupported adapters, static pivots, modified wildcards, incomplete schemas, ambiguous family matches, and unproven types

Verification

  • uv sync --all-extras
  • make check-ci
  • focused Python suite: 166 passed
  • native Rust suite: 38 passed
  • DuckDB end-to-end build with runtime-generated typed columns
  • release wheel build
  • cache-free compile against a large downstream project, including negative wildcard and type cases
  • public repository hygiene scan

@chio-labs-delivery
chio-labs-delivery Bot enabled auto-merge (squash) September 18, 2026 11:33
@chio-labs-delivery
chio-labs-delivery Bot merged commit 0cdcb45 into main Sep 18, 2026
18 of 19 checks passed
@chio-labs-delivery
chio-labs-delivery Bot deleted the feat/dynamic-pivot-contracts branch September 18, 2026 11:44
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