From 1f17c5ffa923b1f15f61bc77978dfd9491206b49 Mon Sep 17 00:00:00 2001 From: Matz Rasmus Date: Wed, 27 Nov 2024 10:58:01 +0200 Subject: [PATCH] =?UTF-8?q?lis=C3=A4tty=20sorttaus=20pub-tauluihuin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dbt/models/pub/pub_dim_hakukohde.sql | 1 + dbt/models/pub/pub_dim_hakutoive.sql | 1 + dbt/models/pub/pub_fct_hakemus.sql | 6 +++++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/dbt/models/pub/pub_dim_hakukohde.sql b/dbt/models/pub/pub_dim_hakukohde.sql index 6bc45b7..e79b104 100644 --- a/dbt/models/pub/pub_dim_hakukohde.sql +++ b/dbt/models/pub/pub_dim_hakukohde.sql @@ -119,3 +119,4 @@ final as ( ) select * from final +order by haku_oid \ No newline at end of file diff --git a/dbt/models/pub/pub_dim_hakutoive.sql b/dbt/models/pub/pub_dim_hakutoive.sql index 8ff8efd..6b93f1d 100644 --- a/dbt/models/pub/pub_dim_hakutoive.sql +++ b/dbt/models/pub/pub_dim_hakutoive.sql @@ -53,3 +53,4 @@ final as ( ) select * from final +order by haku_oid \ No newline at end of file diff --git a/dbt/models/pub/pub_fct_hakemus.sql b/dbt/models/pub/pub_fct_hakemus.sql index 06feaa3..18966ab 100644 --- a/dbt/models/pub/pub_fct_hakemus.sql +++ b/dbt/models/pub/pub_fct_hakemus.sql @@ -1,6 +1,9 @@ {{ config( - materialized = 'table' + materialized = 'table', + indexes = [ + {'columns':['haku_oid']} + ] ) }} @@ -23,3 +26,4 @@ int as ( ) select * from int +order by haku_oid