Skip to content

docs: add materialization_role configuration for pre-aggregates#530

Merged
notgiorgi merged 1 commit intomainfrom
docs_add_materialization_role_configuration_for_pre-aggregates
Apr 8, 2026
Merged

docs: add materialization_role configuration for pre-aggregates#530
notgiorgi merged 1 commit intomainfrom
docs_add_materialization_role_configuration_for_pre-aggregates

Conversation

@notgiorgi
Copy link
Copy Markdown
Contributor

This pull request adds support for the materialization_role parameter in pre-aggregates configuration. This new parameter allows users to define fixed user attributes that will be used when materializing pre-aggregates, ensuring consistent materialization results regardless of which admin triggers the process.

The change addresses scenarios where models use user attributes in SQL filters (like ${ld.attr.allowed_regions}). Without this feature, the materialized pre-aggregate would only contain data accessible to the specific admin who triggered materialization. With materialization_role, users can specify a fixed set of attributes (such as all allowed regions: EMEA, APAC, NA) to ensure complete data materialization while still applying proper user-specific filtering at query time.

The documentation includes configuration examples for both dbt v1.9/earlier and dbt v1.10+/Fusion, showing how to set the email and attributes for the materialization role.

@mintlify
Copy link
Copy Markdown
Contributor

mintlify bot commented Apr 8, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
lightdash 🟢 Ready View Preview Apr 8, 2026, 7:32 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Copy link
Copy Markdown
Contributor Author

notgiorgi commented Apr 8, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

🤖 Documentation Bot

All checks passed! No issues found.

@notgiorgi notgiorgi force-pushed the docs_add_materialization_role_configuration_for_pre-aggregates branch from 9979190 to 0449284 Compare April 8, 2026 12:52
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

🤖 Documentation Bot

All checks passed! No issues found.

@notgiorgi notgiorgi merged commit d2d4977 into main Apr 8, 2026
5 checks passed
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