Skip to content

Add semantic SQL discovery and definition lifecycle - #406

Merged
nicosuave merged 1 commit into
mainfrom
semantic-sql-catalog
Oct 5, 2026
Merged

nicosuave merged 1 commit into
mainfrom
semantic-sql-catalog

Conversation

@nicosuave

@nicosuave nicosuave commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

Add ordinary semantic SELECT routing across DuckDB 1.5.6 and the pinned 2.x frontend, including autocomplete, prepared queries, bound filters, and SQL containers.

Add SHOW/DESCRIBE discovery from the transactional catalog, compiler-checked compatible dimensions, model-qualified creation and replacement, dependency-restricted removal, and versioned catalog export/import. Definition operations preserve transaction, read-only, and prepare/describe behavior.

Add native and host regressions, including an authenticated DuckFlight PostgreSQL client suite. Full prepared-client compatibility also uses the sidequery/duckflight#229 and sidequery/duckdb-rs#6.

@nicosuave
nicosuave marked this pull request as ready for review October 5, 2026 02:59
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 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-10-05T03:03:57.449849Z 826cf1d 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.

@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: 826cf1dc41

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

};
let incoming = Snapshot::from_graph(&incoming.into_graph()?);
let mut merged = Snapshot::parse(snapshot)?;
merged.merge(incoming);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Replace imported identifiers case-insensitively

When the destination contains orders and the imported snapshot defines ORDERS, this merge does not replace the existing model as documented: Snapshot::merge removes entries using exact string equality, while DuckDB semantic identifiers are treated case-insensitively elsewhere in this change. Both declarations therefore remain in the reconstructed graph, leading to duplicate discovery rows and ambiguous or casing-dependent query resolution. Match model and other catalog identifier names with eq_ignore_ascii_case during import.

Useful? React with 👍 / 👎.

@nicosuave
nicosuave merged commit 190973a into main Oct 5, 2026
28 checks passed
@nicosuave
nicosuave deleted the semantic-sql-catalog branch October 5, 2026 03:08
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