diff --git a/koku/masu/database/trino_sql/aws/openshift/managed_aws_openshift_daily.sql b/koku/masu/database/trino_sql/aws/openshift/managed_aws_openshift_daily.sql index 38a1879690..b9134e897d 100644 --- a/koku/masu/database/trino_sql/aws/openshift/managed_aws_openshift_daily.sql +++ b/koku/masu/database/trino_sql/aws/openshift/managed_aws_openshift_daily.sql @@ -56,6 +56,8 @@ INSERT INTO hive.{{trino_schema_prefix | sqlsafe}}{{schema | sqlsafe}}.managed_a lineitem_productcode, lineitem_availabilityzone, lineitem_lineitemtype, + lineitem_usagetype, + lineitem_operation, product_productfamily, product_instancetype, product_region, @@ -75,6 +77,8 @@ INSERT INTO hive.{{trino_schema_prefix | sqlsafe}}{{schema | sqlsafe}}.managed_a savingsplan_savingsplaneffectivecost, product_productname, bill_invoiceid, + product_vcpu, + product_memory, resource_id_matched, matched_tag, source, @@ -145,6 +149,8 @@ SELECT aws.lineitem_resourceid, aws.lineitem_productcode, aws.lineitem_availabilityzone, aws.lineitem_lineitemtype, + aws.lineitem_usagetype, + aws.lineitem_operation, aws.product_productfamily, aws.product_instancetype, aws.product_region, @@ -164,6 +170,8 @@ SELECT aws.lineitem_resourceid, aws.savingsplan_savingsplaneffectivecost, aws.product_productname, aws.bill_invoiceid, + aws.product_vcpu, + aws.product_memory, CASE WHEN resource_names.lineitem_resourceid IS NOT NULL THEN TRUE ELSE FALSE