Skip to content

Commit

Permalink
Mock integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
courtneyholcomb committed Mar 27, 2024
1 parent fbdaac7 commit 14e3b6d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tests/integration/test_cases/itest_metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1889,3 +1889,21 @@ integration_test:
ds
) b
ON {{ render_date_sub("a", "ds", 5, TimeGranularity.DAY) }} = b.ds
---
integration_test:
name: active_listings
description: Query a metric that has a filter containing a metric
model: SIMPLE_MODEL
metrics: ["active_listings"]
check_query: |
SELECT 1
---
integration_test:
name: metric_in_group_by
description: Metric query with a metric in the group by
model: SIMPLE_MODEL
metrics: ["listings"]
check_query: |
SELECT 1
# TODO: metric in query-level filter, metric in group by for metric query, metric in group by for distinct values query, multiple of these filters

0 comments on commit 14e3b6d

Please sign in to comment.