-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update snapshots to include spec -> element set updates.
- Loading branch information
Showing
20 changed files
with
483 additions
and
73 deletions.
There are no files selected for viewing
23 changes: 22 additions & 1 deletion
23
...n/test_ambiguous_metric_time_in_query_filter__accumulate_last_2_months_metric__result.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,22 @@ | ||
GroupByItemResolution(spec=TimeDimensionSpec(element_name='metric_time', time_granularity=MONTH)) | ||
GroupByItemResolution( | ||
spec=TimeDimensionSpec(element_name='metric_time', time_granularity=MONTH), | ||
linkable_element_set=LinkableElementSet( | ||
path_key_to_linkable_dimensions={ | ||
ElementPathKey( | ||
element_name='metric_time', | ||
element_type=TIME_DIMENSION, | ||
time_granularity=MONTH, | ||
): ( | ||
LinkableDimension( | ||
semantic_model_origin=SemanticModelReference( | ||
semantic_model_name='monthly_measures_source', | ||
), | ||
element_name='metric_time', | ||
dimension_type=TIME, | ||
properties=frozenset({<LinkableElementProperty.METRIC_TIME: 'metric_time'>}), | ||
time_granularity=MONTH, | ||
), | ||
), | ||
}, | ||
), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 22 additions & 1 deletion
23
...uous_metric_time_in_query_filter__derived_metric_with_same_parent_time_grains__result.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,22 @@ | ||
GroupByItemResolution(spec=TimeDimensionSpec(element_name='metric_time', time_granularity=MONTH)) | ||
GroupByItemResolution( | ||
spec=TimeDimensionSpec(element_name='metric_time', time_granularity=MONTH), | ||
linkable_element_set=LinkableElementSet( | ||
path_key_to_linkable_dimensions={ | ||
ElementPathKey( | ||
element_name='metric_time', | ||
element_type=TIME_DIMENSION, | ||
time_granularity=MONTH, | ||
): ( | ||
LinkableDimension( | ||
semantic_model_origin=SemanticModelReference( | ||
semantic_model_name='monthly_measures_source', | ||
), | ||
element_name='metric_time', | ||
dimension_type=TIME, | ||
properties=frozenset({<LinkableElementProperty.METRIC_TIME: 'metric_time'>}), | ||
time_granularity=MONTH, | ||
), | ||
), | ||
}, | ||
), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 22 additions & 1 deletion
23
...ion/test_ambiguous_metric_time_in_query_filter__metrics_with_same_time_grains__result.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,22 @@ | ||
GroupByItemResolution(spec=TimeDimensionSpec(element_name='metric_time', time_granularity=MONTH)) | ||
GroupByItemResolution( | ||
spec=TimeDimensionSpec(element_name='metric_time', time_granularity=MONTH), | ||
linkable_element_set=LinkableElementSet( | ||
path_key_to_linkable_dimensions={ | ||
ElementPathKey( | ||
element_name='metric_time', | ||
element_type=TIME_DIMENSION, | ||
time_granularity=MONTH, | ||
): ( | ||
LinkableDimension( | ||
semantic_model_origin=SemanticModelReference( | ||
semantic_model_name='monthly_measures_source', | ||
), | ||
element_name='metric_time', | ||
dimension_type=TIME, | ||
properties=frozenset({<LinkableElementProperty.METRIC_TIME: 'metric_time'>}), | ||
time_granularity=MONTH, | ||
), | ||
), | ||
}, | ||
), | ||
) |
20 changes: 19 additions & 1 deletion
20
.../GroupByItemResolution/test_ambiguous_metric_time_in_query_filter__no_metrics__result.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,19 @@ | ||
GroupByItemResolution(spec=TimeDimensionSpec(element_name='metric_time', time_granularity=DAY)) | ||
GroupByItemResolution( | ||
spec=TimeDimensionSpec(element_name='metric_time', time_granularity=DAY), | ||
linkable_element_set=LinkableElementSet( | ||
path_key_to_linkable_dimensions={ | ||
ElementPathKey( | ||
element_name='metric_time', | ||
element_type=TIME_DIMENSION, | ||
time_granularity=DAY, | ||
): ( | ||
LinkableDimension( | ||
element_name='metric_time', | ||
dimension_type=TIME, | ||
properties=frozenset({<LinkableElementProperty.METRIC_TIME: 'metric_time'>}), | ||
time_granularity=DAY, | ||
), | ||
), | ||
}, | ||
), | ||
) |
23 changes: 22 additions & 1 deletion
23
...oupByItemResolution/test_ambiguous_metric_time_in_query_filter__simple_metric__result.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,22 @@ | ||
GroupByItemResolution(spec=TimeDimensionSpec(element_name='metric_time', time_granularity=MONTH)) | ||
GroupByItemResolution( | ||
spec=TimeDimensionSpec(element_name='metric_time', time_granularity=MONTH), | ||
linkable_element_set=LinkableElementSet( | ||
path_key_to_linkable_dimensions={ | ||
ElementPathKey( | ||
element_name='metric_time', | ||
element_type=TIME_DIMENSION, | ||
time_granularity=MONTH, | ||
): ( | ||
LinkableDimension( | ||
semantic_model_origin=SemanticModelReference( | ||
semantic_model_name='monthly_measures_source', | ||
), | ||
element_name='metric_time', | ||
dimension_type=TIME, | ||
properties=frozenset({<LinkableElementProperty.METRIC_TIME: 'metric_time'>}), | ||
time_granularity=MONTH, | ||
), | ||
), | ||
}, | ||
), | ||
) |
1 change: 1 addition & 0 deletions
1
...atching_item_for_querying.py/GroupByItemResolution/test_invalid_group_by_item__result.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...GroupByItemResolution/test_unavailable_group_by_item_in_derived_metric_parent__result.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.