From f2b6ecf3cc011a9c918862a8f647e66f8b11e207 Mon Sep 17 00:00:00 2001 From: cleentfaar Date: Fri, 1 Mar 2024 14:48:31 +0100 Subject: [PATCH] this ok? --- terraform/routines.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/routines.tf b/terraform/routines.tf index 48f839a..e088652 100644 --- a/terraform/routines.tf +++ b/terraform/routines.tf @@ -263,7 +263,7 @@ resource "google_bigquery_routine" "array_distinct" { EOF language = "SQL" project = local.google_project_id - return_type = "{\"typeKind\": \"ARRAY\"}" + return_type = "{\"typeKind\": \"ARRAY\", \"arrayElementType\": {\"typeKind\": \"STRING\"}}" routine_id = "array_distinct${local.branch_suffix_underscore_edition}" routine_type = "SCALAR_FUNCTION"