Skip to content

Conversation

crericha
Copy link
Contributor

dbt disregards cluster_by config when creating tables for view models.

@crericha crericha requested a review from a team August 29, 2025 20:12
Comment on lines -470 to +471
if self.cluster_by:
if self.cluster_by and not isinstance(kind, ViewKind):
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't we want to push this further down into sqlmesh's model validator? I thought it wasn't possible to cluster normal views in general.

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