Source
FOCUS 1.0 sample
Result rows
17
Status
Runs on sample
Execution
PrecomputedRead-only
Result snapshot (UTC)
2026-10-11

Shows effective cost per charge period of marketplace publishers that differ from the invoice issuer (Datadog and Red Hat sold through AWS in this sample). Rows with a null publisher (12 Azure rows) are excluded, as in the source comparison.

Marketplace publisher effective cost

Query results
Charge period startCharge period endProvider namePublisher nameInvoice issuer nameTotal effective cost
2026-03-01 08:002026-03-01 09:00AWSDatadog Inc.Amazon Web Services, Inc.$5.04
2026-03-02 16:002026-03-02 17:00AWSRed Hat Inc.Amazon Web Services, Inc.$0.00
2026-03-03 22:002026-03-03 23:00AWSDatadog Inc.Amazon Web Services, Inc.$7.20
2026-03-09 02:002026-03-09 03:00AWSRed Hat Inc.Amazon Web Services, Inc.$0.00
2026-03-09 09:002026-03-09 10:00AWSRed Hat Inc.Amazon Web Services, Inc.$0.00
2026-03-10 16:002026-03-10 17:00AWSRed Hat Inc.Amazon Web Services, Inc.$0.00
2026-03-11 16:002026-03-11 17:00AWSDatadog Inc.Amazon Web Services, Inc.$2.88
2026-03-14 07:002026-03-14 08:00AWSDatadog Inc.Amazon Web Services, Inc.$3.60
2026-03-16 16:002026-03-16 17:00AWSRed Hat Inc.Amazon Web Services, Inc.$0.00
2026-03-18 21:002026-03-18 22:00AWSRed Hat Inc.Amazon Web Services, Inc.$0.00
2026-03-20 08:002026-03-20 09:00AWSDatadog Inc.Amazon Web Services, Inc.$7.20
2026-03-21 22:002026-03-21 23:00AWSDatadog Inc.Amazon Web Services, Inc.$7.20
2026-03-26 10:002026-03-26 11:00AWSRed Hat Inc.Amazon Web Services, Inc.$0.00
2026-03-26 21:002026-03-26 22:00AWSRed Hat Inc.Amazon Web Services, Inc.$0.00
2026-03-28 03:002026-03-28 04:00AWSRed Hat Inc.Amazon Web Services, Inc.$0.00
2026-03-30 19:002026-03-30 20:00AWSDatadog Inc.Amazon Web Services, Inc.$7.20
2026-03-30 23:002026-03-31AWSRed Hat Inc.Amazon Web Services, Inc.$0.00

17 rows. Scroll inside the table to see more.

Precomputed result

Inspect Postgres SQL and original FOCUS SQL

Postgres SQL, as run

select charge_period_start as charge_period_start,
       charge_period_end as charge_period_end,
       provider_name as provider_name,
       publisher_name as publisher_name,
       invoice_issuer_name as invoice_issuer_name,
       round(sum(effective_cost), 2) as total_effective_cost
from focus.cost_and_usage
where charge_period_start >= $1::timestamptz
  and charge_period_end < $2::timestamptz
  and invoice_issuer_name <> publisher_name
group by charge_period_start, charge_period_end, provider_name, publisher_name, invoice_issuer_name
order by charge_period_start, total_effective_cost asc, publisher_name
limit 500

Parameters: $1 = period_start, $2 = period_end

Original FOCUS SQL

SELECT
  ChargePeriodStart,
  ChargePeriodEnd,
  ProviderName,
  PublisherName,
  InvoiceIssuerName,
  ROUND(SUM(EffectiveCost),2) AS TotalEffectiveCost
FROM focus_data_table
WHERE ChargePeriodStart >= ? AND ChargePeriodEnd < ?
  AND InvoiceIssuerName != PublisherName
GROUP BY
  ChargePeriodStart,
  ChargePeriodEnd,
  ProviderName,
  PublisherName,
  InvoiceIssuerName
ORDER BY TotalEffectiveCost ASC