From 70cce2dd1bc11c9f6d04263b62b1937d89e1f8a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Egelund-M=C3=BCller?= Date: Mon, 25 Nov 2024 09:59:06 +0000 Subject: [PATCH] Fix tests --- .../dashboards/ad_bids_metrics_view.yaml | 57 ------------------- .../ad_bids/metrics/ad_bids_metrics_view.yaml | 8 +-- 2 files changed, 2 insertions(+), 63 deletions(-) delete mode 100644 runtime/testruntime/testdata/ad_bids/dashboards/ad_bids_metrics_view.yaml diff --git a/runtime/testruntime/testdata/ad_bids/dashboards/ad_bids_metrics_view.yaml b/runtime/testruntime/testdata/ad_bids/dashboards/ad_bids_metrics_view.yaml deleted file mode 100644 index cbfb063d221..00000000000 --- a/runtime/testruntime/testdata/ad_bids/dashboards/ad_bids_metrics_view.yaml +++ /dev/null @@ -1,57 +0,0 @@ -# Dashboard YAML -# Reference documentation: https://docs.rilldata.com/reference/project-files/explore-dashboards - -type: metrics_view -display_name: Ad Bids -model: ad_bids -timeseries: timestamp -dimensions: - - display_name: Publisher - column: publisher - description: "" - - display_name: Domain - column: domain - description: "" -measures: - - name: total_records - display_name: Total records - expression: COUNT(*) - description: "" - format_preset: humanize - valid_percent_of_total: true - - name: bid_price - display_name: Sum of Bid Price - expression: SUM(bid_price) - description: "" - format_preset: humanize - valid_percent_of_total: true -available_time_zones: - - America/Los_Angeles - - America/Chicago - - America/New_York - - Europe/London - - Europe/Paris - - Asia/Jerusalem - - Europe/Moscow - - Asia/Kolkata - - Asia/Shanghai - - Asia/Tokyo - - Australia/Sydney -available_time_ranges: - - PT6H - - PT24H - - P7D - - P14D - - P4W - - P3M - - P12M - - rill-TD - - rill-WTD - - rill-MTD - - rill-QTD - - rill-YTD - - rill-PDC - - rill-PWC - - rill-PMC - - rill-PQC - - rill-PYC diff --git a/runtime/testruntime/testdata/ad_bids/metrics/ad_bids_metrics_view.yaml b/runtime/testruntime/testdata/ad_bids/metrics/ad_bids_metrics_view.yaml index 83a3aa6e322..8e85448ad88 100644 --- a/runtime/testruntime/testdata/ad_bids/metrics/ad_bids_metrics_view.yaml +++ b/runtime/testruntime/testdata/ad_bids/metrics/ad_bids_metrics_view.yaml @@ -9,22 +9,18 @@ model: ad_bids timeseries: timestamp dimensions: - - - display_name: Publisher + - display_name: Publisher column: publisher - - - display_name: Domain + - display_name: Domain column: domain measures: - name: total_records - display_name: Total records expression: COUNT(*) description: "" format_preset: humanize - name: bid_price_sum - display_name: Sum of Bid Price expression: SUM(bid_price) description: ""