Skip to content

Commit

Permalink
Apply SetDefaultGranularityRule to all manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
courtneyholcomb committed Jun 28, 2024
1 parent 42c273d commit cf94ffc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
ConvertMedianToPercentileRule,
)
from dbt_semantic_interfaces.transformations.cumulative_type_params import SetCumulativeTypeParamsRule
from dbt_semantic_interfaces.transformations.default_granularity import SetDefaultGranularityRule
from dbt_semantic_interfaces.transformations.names import LowerCaseNamesRule
from dbt_semantic_interfaces.transformations.proxy_measure import CreateProxyMeasureRule
from dbt_semantic_interfaces.transformations.semantic_manifest_transformer import (
Expand Down Expand Up @@ -38,6 +39,7 @@ def parse_manifest_from_dbt_generated_manifest(manifest_json_string: str) -> Pyd
ConvertMedianToPercentileRule(),
DedupeMetricInputMeasuresRule(), # Remove once fix is in core
SetCumulativeTypeParamsRule(),
SetDefaultGranularityRule(),
),
)
model = PydanticSemanticManifestTransformer.transform(raw_model, rules)
Expand Down

0 comments on commit cf94ffc

Please sign in to comment.