Skip to content

Commit

Permalink
fixup! Add integration test for derived metrics with shared aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
serramatutu committed Nov 5, 2024
1 parent 57e0611 commit 3583f92
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests_metricflow/integration/test_cases/itest_metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -563,8 +563,7 @@ integration_test:
, COUNT(*) - 10 AS derived_shared_alias_1a
, COUNT(*) - 100 AS derived_shared_alias_1b
FROM {{ source_schema }}.fct_bookings
GROUP BY
booking__is_instant
GROUP BY 1
---
integration_test:
name: shared_alias_derived_metric_different
Expand All @@ -578,8 +577,7 @@ integration_test:
, COUNT(*) - 10 AS derived_shared_alias_1a
, SUM(CASE WHEN is_instant THEN 1 ELSE 0 END) + 10 AS derived_shared_alias_2
FROM {{ source_schema }}.fct_bookings
GROUP BY
booking__is_instant
GROUP BY 1
---
integration_test:
name: two_metrics_with_null_dimension_values
Expand Down

0 comments on commit 3583f92

Please sign in to comment.