From 6e08884bd6c2c5e8f838e06428fa678adfb95f44 Mon Sep 17 00:00:00 2001 From: StewKI Date: Sun, 17 May 2026 18:26:56 +0200 Subject: [PATCH] organization load sql fix 2 --- nifi/sql/load/05_dim_organization.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nifi/sql/load/05_dim_organization.sql b/nifi/sql/load/05_dim_organization.sql index 09e63a0..746be03 100644 --- a/nifi/sql/load/05_dim_organization.sql +++ b/nifi/sql/load/05_dim_organization.sql @@ -5,6 +5,6 @@ VALUES ( NULLIF('${region}', ''), NULLIF('${country}', ''), NULLIF('${club_partner_status}', ''), - TO_NUMBER(NULLIF('${founded_year}', '')), - TO_NUMBER(NULLIF('${social_media_followers_m}', '')) + TO_NUMBER(NULLIF('${founded_year}', ''), '9999'), + TO_NUMBER(NULLIF('${social_media_followers_m}', ''), '9990.99', 'NLS_NUMERIC_CHARACTERS=''.,''') )