Skip to content

Commit

Permalink
Update resource_view_sp_ri.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
rarmist authored May 15, 2024
1 parent 070e04d commit a1bd474
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cid/builtin/core/data/queries/cudos/resource_view_sp_ri.sql
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ CREATE OR REPLACE VIEW resource_view AS
, "sum"("line_item_unblended_cost") unblended_cost
FROM
"${cur_table_name}"
WHERE (
((current_date - INTERVAL '30' DAY) <= line_item_usage_start_date)
WHERE
(((current_date - INTERVAL '30' DAY) <= line_item_usage_start_date)
AND (line_item_resource_id <> '')
AND "line_item_operation" NOT IN ('EKSPod-EC2','ECSTask-EC2'))
GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29

0 comments on commit a1bd474

Please sign in to comment.