Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[COST-5565] - Adding inserts for missed column entries #5464

Merged
merged 3 commits into from
Jan 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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
Expand Down
Loading