satellitedb/attribution: updates valueAttrQuery to work for both postgres and cockroach
Change-Id: I55d6c21950a66bf782596e9152622efd700c324a
This commit is contained in:
parent
ecb960f506
commit
e9eff54473
@ -62,7 +62,7 @@ const (
|
||||
va.partner_id,
|
||||
bst.project_id,
|
||||
bst.bucket_name,
|
||||
hours
|
||||
date_trunc('hour', bst.interval_start)
|
||||
ORDER BY
|
||||
max_interval DESC
|
||||
) bsti
|
||||
@ -83,7 +83,7 @@ const (
|
||||
bbr.bucket_name as bucket_name,
|
||||
0 as remote,
|
||||
0 as inline,
|
||||
SUM(settled) as settled,
|
||||
SUM(settled)::integer as settled,
|
||||
NULL as hours
|
||||
FROM
|
||||
bucket_bandwidth_rollups bbr
|
||||
|
Loading…
Reference in New Issue
Block a user