Skip to content

Support table DDLs in the information schema for common OLAPs#8828

Merged
begelundmuller merged 7 commits intomainfrom
begelundmuller/ddl-information-schema
Feb 18, 2026
Merged

Support table DDLs in the information schema for common OLAPs#8828
begelundmuller merged 7 commits intomainfrom
begelundmuller/ddl-information-schema

Conversation

@begelundmuller
Copy link
Contributor

@begelundmuller begelundmuller commented Feb 12, 2026

This PR adds support for fetching view and table DDLs in information schema queries for OLAP drivers. It also propagates this DDL to the show_table MCP tool call for use by the developer agent.

It implements DDL support for the following drivers:

  • BigQuery
  • Clickhouse
  • DuckDB
  • MySQL
  • Postgres
  • Snowflake
  • Starrocks

Closes https://linear.app/rilldata/issue/PLAT-401/include-original-data-types-and-ddl-in-show-table-tool

Checklist:

  • Covered by tests
  • Ran it and it works as intended
  • Reviewed the diff before requesting a review
  • Checked for unhandled edge cases
  • Linked the issues it closes
  • Checked if the docs need to be updated. If so, create a separate Linear DOCS issue
  • Intend to cherry-pick into the release branch
  • I'm proud of this work!

@begelundmuller begelundmuller self-assigned this Feb 17, 2026
@begelundmuller begelundmuller merged commit 153efa6 into main Feb 18, 2026
17 checks passed
@begelundmuller begelundmuller deleted the begelundmuller/ddl-information-schema branch February 18, 2026 13:00
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.

2 participants