Skip to content

Conversation

nazliander
Copy link

resolves #706
docs N/A

Problem

Clustering via the config is not a possibility with dbt-snowflake while using the dynamic table materializations.

People workaround using a post-hook, which is not intuitive and not standardized.

Solution

Pulling the cluster_by parser into the dynamic table materialization.

So that we can forward the clustering options that the dbt user intends to use in the dynamic table creation command.

Checklist

  • I have read the contributing guide and understand what's expected of me
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX

@nazliander nazliander requested a review from a team as a code owner August 30, 2025 11:32
@cla-bot cla-bot bot added the cla:yes The PR author has signed the CLA label Aug 30, 2025
While creating dynamic tables in the Snowflake, the adapter was not using
the cluster by parameter. However there was a nice parser implemented in
the catalogue integrations. By wrapping the existing parser implementing
the dynamic table config parameter.
@nazliander
Copy link
Author

@colin-rogers-dbt Hi, apologies for the direct message! 👋 I noticed this PR has been waiting for some time and hasn’t been able to run on CI yet. It’s not urgent, but if anyone from the team has a chance to review it in the near future, that would be helpful. Cheers.

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

Labels

cla:yes The PR author has signed the CLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] dynamic table cluster_by support

1 participant