From c556314ebe405d32d4e826c5476bd98649368828 Mon Sep 17 00:00:00 2001 From: Joe White Date: Thu, 25 Jun 2020 08:53:45 -0400 Subject: [PATCH 1/3] Fix bugs in definition of cloud fact tables. Dimensions cannot be null. --- .../etl/etl_tables.d/cloud_common/cloudfact_by_.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configuration/etl/etl_tables.d/cloud_common/cloudfact_by_.json b/configuration/etl/etl_tables.d/cloud_common/cloudfact_by_.json index b88af6899f..52b2065108 100644 --- a/configuration/etl/etl_tables.d/cloud_common/cloudfact_by_.json +++ b/configuration/etl/etl_tables.d/cloud_common/cloudfact_by_.json @@ -43,12 +43,12 @@ },{ "name": "processorbucket_id", "type": "int(4)", - "nullable": true, + "nullable": false, "comment": "DIMENSION: Pre-determined processor bucket sizes. References processorbucket.id" },{ "name": "memorybucket_id", "type": "int(4)", - "nullable": true, + "nullable": false, "comment": "DIMENSION: Pre-determined memory bucket sizes. References memorybucket.id" },{ "name": "instance_type_id", From db396dc0d5fe911b50ba6b18359494733bac8d2d Mon Sep 17 00:00:00 2001 From: Joe White Date: Thu, 25 Jun 2020 09:03:24 -0400 Subject: [PATCH 2/3] Update configuration/etl/etl_tables.d/cloud_common/cloudfact_by_.json Co-authored-by: Jeffrey T. Palmer --- configuration/etl/etl_tables.d/cloud_common/cloudfact_by_.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/etl/etl_tables.d/cloud_common/cloudfact_by_.json b/configuration/etl/etl_tables.d/cloud_common/cloudfact_by_.json index 52b2065108..11972a8c9b 100644 --- a/configuration/etl/etl_tables.d/cloud_common/cloudfact_by_.json +++ b/configuration/etl/etl_tables.d/cloud_common/cloudfact_by_.json @@ -44,7 +44,7 @@ "name": "processorbucket_id", "type": "int(4)", "nullable": false, - "comment": "DIMENSION: Pre-determined processor bucket sizes. References processorbucket.id" + "comment": "DIMENSION: Pre-determined processor bucket sizes. References processor_buckets.id" },{ "name": "memorybucket_id", "type": "int(4)", From 0a64006132ef15d64f1f1ff008c34b929750d3fe Mon Sep 17 00:00:00 2001 From: Joe White Date: Thu, 25 Jun 2020 09:03:31 -0400 Subject: [PATCH 3/3] Update configuration/etl/etl_tables.d/cloud_common/cloudfact_by_.json Co-authored-by: Jeffrey T. Palmer --- configuration/etl/etl_tables.d/cloud_common/cloudfact_by_.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/etl/etl_tables.d/cloud_common/cloudfact_by_.json b/configuration/etl/etl_tables.d/cloud_common/cloudfact_by_.json index 11972a8c9b..a6700b042a 100644 --- a/configuration/etl/etl_tables.d/cloud_common/cloudfact_by_.json +++ b/configuration/etl/etl_tables.d/cloud_common/cloudfact_by_.json @@ -49,7 +49,7 @@ "name": "memorybucket_id", "type": "int(4)", "nullable": false, - "comment": "DIMENSION: Pre-determined memory bucket sizes. References memorybucket.id" + "comment": "DIMENSION: Pre-determined memory bucket sizes. References memory_buckets.id" },{ "name": "instance_type_id", "type": "int(11)",