Skip to content

Support advanced measure SQL in DuckDB - #508

Merged
nicosuave merged 4 commits into
duckdb-measure-viewsfrom
advanced-measure-sql
Nov 29, 2026
Merged

nicosuave merged 4 commits into
duckdb-measure-viewsfrom
advanced-measure-sql

Conversation

@nicosuave

@nicosuave nicosuave commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

Extend DuckDB measure queries with context modifiers, windows, aggregate decorations and states, and PIVOT. The extension binds these expressions against their visible sources and preserves measure definitions when queries change grain.

DuckDB 2.0.1 provides the native grammar for these features. The compatibility path retains the supported DuckDB 1.5.6 behavior. The host regressions exercise measure names, context diagnostics and both load orders with Yardstick.

@nicosuave
nicosuave added this pull request to stack #510 November 28, 2026 23:40
@nicosuave
nicosuave marked this pull request as ready for review November 29, 2026 15:06
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-29T15:08:28.059907Z 5bf14d9 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@nicosuave
nicosuave force-pushed the advanced-measure-sql branch from 5bf14d9 to 6d233c3 Compare November 29, 2026 15:51
@nicosuave
nicosuave merged commit 7bacd63 into main Nov 29, 2026
29 checks passed
@nicosuave
nicosuave deleted the advanced-measure-sql branch November 29, 2026 16:27
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