From d940eec4d50d9d68854c44acd5750bad4480ecdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20J=C3=B8rgen=20Mittet?= Date: Mon, 9 Dec 2024 16:42:53 +0100 Subject: [PATCH] Revert "Opprett view for Flexjar Sigrun survey" This reverts commit bb654896815fa5fa3fd89995e4baf375b5acc5a4. --- prod/views-flexjar.tf | 54 ------------------------------------------- 1 file changed, 54 deletions(-) diff --git a/prod/views-flexjar.tf b/prod/views-flexjar.tf index cab52fd..fddf79d 100644 --- a/prod/views-flexjar.tf +++ b/prod/views-flexjar.tf @@ -207,57 +207,3 @@ AND team = 'teamsykefravr' AND (JSON_VALUE(feedback_json, '$.feedbackId') = 'Min oversikt' OR JSON_VALUE(feedback_json, '$.feedbackId') = 'SenFase' OR JSON_VALUE(feedback_json, '$.feedbackId') = 'Historikk') EOF } - -module "flexjar_virksomheten_din_view" { - source = "../modules/google-bigquery-view" - deletion_protection = false - dataset_id = google_bigquery_dataset.flex_dataset.dataset_id - view_id = "flexjar_virksomheten_din_view" - view_schema = jsonencode( - [ - { - mode = "NULLABLE" - name = "uke" - type = "INTEGER" - description = "" - }, - { - mode = "NULLABLE" - name = "antall_ja" - type = "INTEGER" - description = "" - }, - { - mode = "NULLABLE" - name = "prosent_ja" - type = "FLOAT" - description = "" - }, - { - mode = "NULLABLE" - name = "antall_nei" - type = "INTEGER" - description = "" - }, - { - mode = "NULLABLE" - name = "prosent_nei" - type = "FLOAT" - description = "" - }, - ] - ) - view_query = <= TIMESTAMP "2024-11-01 10:43:00+01:00" -GROUP BY uke -ORDER BY uke; -EOF -}