feat(sql): sales-tracker velocity + absorption MVs for Site Finder (#61) #1711
3 changed files with 3 additions and 3 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
Two independent materialized views built from the Объектив sales-tracker
|
Two independent materialized views built from the Объектив sales-tracker
|
||||||
("шахматки") snapshots (objective_lots / objective_lots_history), created by
|
("шахматки") snapshots (objective_lots / objective_lots_history), created by
|
||||||
data/sql/161_mv_sales_tracker_velocity_absorption.sql:
|
data/sql/164_mv_sales_tracker_velocity_absorption.sql:
|
||||||
|
|
||||||
1. mv_sales_tracker_velocity_by_district — per (district, month) sold/total/
|
1. mv_sales_tracker_velocity_by_district — per (district, month) sold/total/
|
||||||
avg-sold-price. Feeds the Site Finder Velocity Score (4th scoring criterion).
|
avg-sold-price. Feeds the Site Finder Velocity Score (4th scoring criterion).
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ Both MVs are built from the Объектив sales-tracker ("шахматки")
|
||||||
(objective_lots / objective_lots_history). Source data refreshes via the
|
(objective_lots / objective_lots_history). Source data refreshes via the
|
||||||
objective_sync beat job, so a weekly MV refresh keeps the aggregates current.
|
objective_sync beat job, so a weekly MV refresh keeps the aggregates current.
|
||||||
|
|
||||||
MV-source migration: data/sql/161_mv_sales_tracker_velocity_absorption.sql.
|
MV-source migration: data/sql/164_mv_sales_tracker_velocity_absorption.sql.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
-- 161_mv_sales_tracker_velocity_absorption.sql
|
-- 164_mv_sales_tracker_velocity_absorption.sql
|
||||||
-- Issue #61 — Velocity materialized views for Site Finder Velocity Score (4th scoring
|
-- Issue #61 — Velocity materialized views for Site Finder Velocity Score (4th scoring
|
||||||
-- criterion) + recommend_mix smart unit-mix. Foundation for sellout forecast.
|
-- criterion) + recommend_mix smart unit-mix. Foundation for sellout forecast.
|
||||||
--
|
--
|
||||||
Loading…
Add table
Reference in a new issue