We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Looked further into the macro that should handle this logic and only case that’s handled is if dimensions_by_day is None.
dimensions_by_day
None
Looking at granularity of a datetime col after specifying it in dimensions and dimensions_by_day should change to 'Date' rather than Original.
dimensions
The text was updated successfully, but these errors were encountered:
Although documentation says the macro argument is called dimensions_by_day (See: https://github.com/dremio/dbt-dremio/wiki/Using-Materializations-with-Dremio#reflections), the argument is (in version 1.7.0) actually called by_day_dimensions (See:
by_day_dimensions
dbt-dremio/dbt/include/dremio/macros/materializations/reflection/create_reflection.sql
Line 41 in e7b087e
The example in the Wiki should be
{{ config(materialized='reflection', reflection_type='aggregate', dimensions=['Datetime0'], by_day_dimensions=['Datetime0'], measures=['Num3', 'Int2'], computations=['MIN,SUM','COUNT'], arrow_cache=true) }} -- depends_on: {{ ref('my_anchor') }}
Sorry, something went wrong.
Approached in #256
Successfully merging a pull request may close this issue.
Looked further into the macro that should handle this logic and only case that’s handled is if
dimensions_by_day
isNone
.Looking at granularity of a datetime col after specifying it in
dimensions
anddimensions_by_day
should change to 'Date' rather than Original.The text was updated successfully, but these errors were encountered: