Time unification
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
-- SESSION-TZ ASSUMPTION: this script runs with TimeZone=America/Chicago
|
||||
-- (pinned in the pool config and as the inventory_db database default).
|
||||
-- CURRENT_DATE / NOW()::date / ts::date here mean the BUSINESS date
|
||||
-- (Chicago calendar day = 1am-Eastern day rule). See docs/TIME.md.
|
||||
-- Description: Calculates and updates daily aggregated product data.
|
||||
-- Self-healing: detects gaps (missing snapshots), stale data (snapshot
|
||||
-- aggregates that don't match source tables after backfills), and always
|
||||
|
||||
Reference in New Issue
Block a user