diff --git a/docs/en/data-modeling/backfilling.md b/docs/en/data-modeling/backfilling.md index 54d1e453d2f..1f99136ce35 100644 --- a/docs/en/data-modeling/backfilling.md +++ b/docs/en/data-modeling/backfilling.md @@ -370,7 +370,7 @@ CREATE MATERIALIZED VIEW pypi_downloads_per_day_mv TO pypi_downloads_per_day AS SELECT toStartOfHour(timestamp) as hour, project, count() AS count -FROM pypi WHERE timestamp < '2024-12-17 09:00:00' +FROM pypi WHERE timestamp >= '2024-12-17 09:00:00' GROUP BY hour, project ```