Skip to content

Support Ossie grouped QUALIFY, quoted RENAME, and database runtime semantics - #467

Merged
nicosuave merged 3 commits into
mainfrom
codex/ossie-query-runtime-parity
Nov 6, 2026
Merged

nicosuave merged 3 commits into
mainfrom
codex/ossie-query-runtime-parity

Conversation

@nicosuave

@nicosuave nicosuave commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Ossie queries with grouped or named-window QUALIFY and quoted wildcard RENAME previously rejected valid input. Both compilers now preserve grouping, window evaluation, filtering, output names, NULL ordering, and pagination through those queries.

Direct database execution also exposed dialect and population errors. This change fixes PostgreSQL QUALIFY transport, Snowflake window normalization, BigQuery grouping-set types and aggregate FILTER, and ClickHouse NULL/empty behavior, views, and grouped measures. Native wide queries carry measure inputs with their deduplicated source population, avoiding nondeterministic associations caused by independently generated row numbers.

Review regressions cover filtered window modifiers and COUNT FILTER across SQLGlot 30.1, 30.12, and 30.23. The integration suite in #468 records 382 passing cases across Python, public Rust with fallback disabled, and native Rust import/compilation. Targets are real DuckDB/PostgreSQL/ClickHouse and BigQuery/Snowflake emulators; live cloud behavior is not claimed.

Native logical schema validation landed separately in #465. Database integration CI is isolated in #468.

@chatgpt-codex-connector

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

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-05T23:11:58.620458Z 108e19c PR opened
ℹ️ 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 108e19ce49

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread sidemantic/sql/ossie_relational.py Resolved
@nicosuave nicosuave changed the title Complete Ossie windows, quoted renames, and database execution Support Ossie grouped QUALIFY, quoted RENAME, and database runtime semantics Nov 5, 2026
@nicosuave
nicosuave merged commit 9b2260c into main Nov 6, 2026
29 checks passed
@nicosuave
nicosuave deleted the codex/ossie-query-runtime-parity branch November 6, 2026 00:02
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