Skip to content

Commit 41bb026

Browse files
authored
[COST-4967] Undo partial matching on node for ocp on azure. (#5078)
1 parent 103c876 commit 41bb026

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

koku/masu/database/trino_sql/reporting_ocpazurecostlineitem_daily_summary.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ SELECT azure.uuid as azure_uuid,
368368
JOIN hive.{{schema | sqlsafe}}.azure_openshift_daily_resource_matched_temp as azure
369369
ON (azure.usage_start = ocp.usage_start)
370370
AND (
371-
(strpos(azure.resource_id, ocp.node) > 0 AND ocp.data_source = 'Pod')
371+
(azure.resource_id = ocp.node AND ocp.data_source = 'Pod')
372372
OR
373373
(strpos(azure.resource_id, ocp.persistentvolume) > 0 AND ocp.data_source = 'Storage')
374374
)

0 commit comments

Comments
 (0)