Skip to content

docs: dbt INDEX projections - #6546

Open
29antonioac wants to merge 1 commit into
ClickHouse:mainfrom
29antonioac:docs/dbt-index-projections
Open

docs: dbt INDEX projections#6546
29antonioac wants to merge 1 commit into
ClickHouse:mainfrom
29antonioac:docs/dbt-index-projections

Conversation

@29antonioac

Copy link
Copy Markdown

Summary

Documents the new index parameter for the projections model config introduced in ClickHouse/dbt-clickhouse#651.

The index field is syntax sugar for lightweight index projections using the _part_offset virtual column (ClickHouse 25.6+). It accepts a single column name or a list of columns and generates version-appropriate DDL automatically — INDEX … TYPE basic on 26.1+, or (SELECT _part_offset ORDER BY …) on 25.6–26.0. Specifying both query and index on the same projection entry raises a compile-time error.

Checklist

  • Delete items not relevant to your PR

@29antonioac
29antonioac requested review from a team as code owners July 20, 2026 05:11
@vercel

vercel Bot commented Jul 20, 2026

Copy link
Copy Markdown

@29antonioac is attempting to deploy a commit to the ClickHouse Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Jul 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
clickhouse-docs Ready Ready Preview Jul 20, 2026 8:49am

Request Review

@Blargian

Copy link
Copy Markdown
Member

Thank you for your contribution @29antonioac. I'll wait for a review from one of the dbt-clickhouse maintainers before merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Don't Merge Don't merge yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants