Skip to content

Commit

Permalink
chore: Fix SQL Union on different datatypes
Browse files Browse the repository at this point in the history
  • Loading branch information
avitova authored and lzap committed Oct 18, 2023
1 parent fb7e8b9 commit 6155b0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/clowdapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ objects:
d.detail -> 'instance_type' as type,
d.detail -> 'region' as region,
d.detail -> 'amount' as amount,
d.detail -> 'launch_template_id' as template
d.detail -> 'launch_template_id' as template
from reservations r
join aws_reservation_details d on r.id = d.reservation_id
join accounts a on r.account_id = a.id
Expand All @@ -478,7 +478,7 @@ objects:
d.detail -> 'instance_size' as type,
d.detail -> 'location' as region,
d.detail -> 'amount' as amount,
false as template
'' as template
from reservations r
join azure_reservation_details d on r.id = d.reservation_id
join accounts a on r.account_id = a.id
Expand Down

0 comments on commit 6155b0d

Please sign in to comment.