File tree 1 file changed +4
-9
lines changed
1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -23,19 +23,14 @@ SELECT
23
23
CASE
24
24
WHEN
25
25
(
26
- try_cast(product_vcpu AS INT ) <= 8
26
+ try_cast(product_vcpu AS INT ) <= 4
27
27
AND (lineitem_lineitemdescription LIKE ' %Red Hat%' OR lineitem_lineitemdescription LIKE ' %RHEL%' )
28
- ) THEN 0 .0144 * lineitem_usageamount * CAST(product_vcpu AS INT )
28
+ ) THEN 0 .06 * lineitem_usageamount
29
29
WHEN
30
30
(
31
- try_cast(product_vcpu AS INT ) <= 127
31
+ try_cast(product_vcpu AS INT ) > 4
32
32
AND (lineitem_lineitemdescription LIKE ' %Red Hat%' OR lineitem_lineitemdescription LIKE ' %RHEL%' )
33
- ) THEN 0 .0108 * lineitem_usageamount * CAST(product_vcpu AS INT )
34
- WHEN
35
- (
36
- try_cast(product_vcpu AS INT ) > 127
37
- AND (lineitem_lineitemdescription LIKE ' %Red Hat%' OR lineitem_lineitemdescription LIKE ' %RHEL%' )
38
- ) THEN 0 .0096 * lineitem_usageamount * CAST(product_vcpu AS INT )
33
+ ) THEN 0 .13 * lineitem_usageamount
39
34
ELSE lineitem_unblendedcost
40
35
END AS lineitem_unblendedcost,
41
36
lineitem_blendedrate,
You can’t perform that action at this time.
0 commit comments