Built Word Documents (.docx):
Spensara Overview (.docx)
Capability Assessment (.docx)
Brink POS Ingestion Analysis (.docx)
The Borg Ingestion Architecture (.docx)
Categories
Warehouse Model (93)
Analytical data warehouse schemas, curated tables, and Redshift/Athena data models.
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/customers.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/employees.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/index.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/inventory_items.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/kitchen_item_status_events.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/kitchen_orders.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/kitchen_order_items.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/labor_shifts.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/loyalty_customers.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_catalog_items.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_destinations.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_hourly_sales.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_jobs.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_menu_items.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_modifiers.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_orders.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_order_items.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_tables.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_table_definitions.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_tenders.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_transactions.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_transaction_items.md
- docs/features/ETL/warehouse-data/brinkPos-curated-model-mapps/pos_transaction_tenders.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_kitchen_get_order_bump_times.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_kitchen_get_order_item_bump_times.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_labor_get_shifts.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_sales2_get_current_business_date.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_sales2_get_orders.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings2_get_brands.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings2_get_destinations.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings2_get_employees.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings2_get_items.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings2_get_jobs.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings2_get_kitchen_queues.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings2_get_last_modified_time.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings2_get_menu.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings2_get_tables.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings2_get_taxes.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings_get_day_parts.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings_get_item_groups.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings_get_modifier_codes.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings_get_modifier_groups.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings_get_registers.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings_get_revenue_centers.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings_get_sections.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/brink_settings_get_tenders.md
- docs/features/ETL/warehouse-data/brinkPos-staging-model/index.md
- docs/features/ETL/warehouse-data/curated-model/customers.md
- docs/features/ETL/warehouse-data/curated-model/employees.md
- docs/features/ETL/warehouse-data/curated-model/index.md
- docs/features/ETL/warehouse-data/curated-model/inventory_items.md
- docs/features/ETL/warehouse-data/curated-model/kitchen_item_status_events.md
- docs/features/ETL/warehouse-data/curated-model/kitchen_orders.md
- docs/features/ETL/warehouse-data/curated-model/kitchen_order_items.md
- docs/features/ETL/warehouse-data/curated-model/labor_shifts.md
- docs/features/ETL/warehouse-data/curated-model/loyalty_customers.md
- docs/features/ETL/warehouse-data/curated-model/pos_catalog_items.md
- docs/features/ETL/warehouse-data/curated-model/pos_destinations.md
- docs/features/ETL/warehouse-data/curated-model/pos_hourly_sales.md
- docs/features/ETL/warehouse-data/curated-model/pos_jobs.md
- docs/features/ETL/warehouse-data/curated-model/pos_menu_items.md
- docs/features/ETL/warehouse-data/curated-model/pos_modifiers.md
- docs/features/ETL/warehouse-data/curated-model/pos_orders.md
- docs/features/ETL/warehouse-data/curated-model/pos_order_items.md
- docs/features/ETL/warehouse-data/curated-model/pos_tables.md
- docs/features/ETL/warehouse-data/curated-model/pos_table_definitions.md
- docs/features/ETL/warehouse-data/curated-model/pos_tenders.md
- docs/features/ETL/warehouse-data/curated-model/pos_transactions.md
- docs/features/ETL/warehouse-data/curated-model/pos_transaction_items.md
- docs/features/ETL/warehouse-data/curated-model/pos_transaction_tenders.md
- docs/features/ETL/warehouse-data/curated-model/todo.md
- docs/features/ETL/warehouse-data/index.md
- docs/features/ETL/warehouse-data/logic-control-aloha-staging-model/aloha_gnditem.md
- docs/features/ETL/warehouse-data/logic-control-aloha-staging-model/aloha_gndsale.md
- docs/features/ETL/warehouse-data/logic-control-aloha-staging-model/aloha_gndslsum.md
- docs/features/ETL/warehouse-data/logic-control-aloha-staging-model/aloha_gndtndr.md
- docs/features/ETL/warehouse-data/logic-control-aloha-staging-model/aloha_itm.md
- docs/features/ETL/warehouse-data/logic-control-aloha-staging-model/aloha_mod.md
- docs/features/ETL/warehouse-data/logic-control-aloha-staging-model/aloha_tab.md
- docs/features/ETL/warehouse-data/logic-control-aloha-staging-model/aloha_tabdef.md
- docs/features/ETL/warehouse-data/logic-control-aloha-staging-model/aloha_tdr.md
- docs/features/ETL/warehouse-data/logic-control-aloha-staging-model/index.md
- docs/features/ETL/warehouse-data/logic-control-kds-staging-model/index.md
- docs/features/ETL/warehouse-data/logic-control-kds-staging-model/kds_customers.md
- docs/features/ETL/warehouse-data/logic-control-kds-staging-model/kds_items.md
- docs/features/ETL/warehouse-data/logic-control-kds-staging-model/kds_item_bumps.md
- docs/features/ETL/warehouse-data/logic-control-kds-staging-model/kds_orders.md
- docs/features/ETL/warehouse-data/logic-control-pos-staging-model/index.md
- docs/features/ETL/warehouse-data/logic-control-pos-staging-model/labpos_inventory_items.md
- docs/features/ETL/warehouse-data/logic-control-pos-staging-model/labpos_wp_loyalty.md
- docs/features/ETL/warehouse-data/logic-control-pos-staging-model/labpos_wp_pos_items.md
- docs/features/ETL/warehouse-data/logic-control-pos-staging-model/labpos_wp_pos_orders.md
- docs/features/ETL/warehouse-data/logic-control-pos-staging-model/labpos_wp_pos_order_items.md
curated.pos_hourly_sales
Purpose
This table stores hourly aggregated sales facts when a source can provide or derive them. It is intended for quick trend analysis over time without needing to recompute hourly windows from transaction-level data.
Because it is an aggregate surface, it is best suited for reporting and anomaly baselines rather than detailed forensic analysis.
Schema contract
The deployed SQL under backend/Kds.Ai.Warehouse/Sql/Bootstrap/Tenant/Curated/ is the source of truth for the current column names, types, and nullability.
Column groups
- Business properties describe the business entity, event, fact, or reference record represented by the table.
- Technical and ETL properties describe warehouse lineage, surrogate keys, source reconciliation, tenant scoping, slowly changing dimension controls, and ingestion metadata.
Business properties
| Column | Type | Nullable | Business Meaning | Notes |
|---|---|---|---|---|
dob | DATE | Yes | Business date for the sales aggregate. | |
storeid | INTEGER | Yes | Store identifier associated with the aggregate. | |
occasionid | INTEGER | Yes | Occasion or meal-period identifier. | |
keyvolume | INTEGER | Yes | Volume metric used by the source aggregate. | |
revid | INTEGER | Yes | Revenue bucket or revenue-center identifier. | |
catid | INTEGER | Yes | Category identifier included in the aggregate. | |
starthour | INTEGER | Yes | Starting hour of the aggregate bucket. | |
startmin | INTEGER | Yes | Starting minute of the aggregate bucket. | |
amount | DOUBLE PRECISION | Yes | Sales amount for the bucket. | |
regionid | INTEGER | Yes | Region identifier for roll-up reporting. | |
stophour | INTEGER | Yes | Ending hour of the aggregate bucket. | |
stopmin | INTEGER | Yes | Ending minute of the aggregate bucket. | |
store_name | VARCHAR(255) | Yes | Readable store name associated with the aggregate bucket. | |
occasion_name | VARCHAR(255) | Yes | Readable occasion or meal-period name. | |
revenue_center_name | VARCHAR(255) | Yes | Readable revenue center name. | |
category_name | VARCHAR(255) | Yes | Readable category name included in the aggregate. | |
transaction_count | INTEGER | Yes | Number of transactions contributing to the aggregate bucket. | |
guest_count | INTEGER | Yes | Number of guests represented in the aggregate bucket when available. | |
quantity_sold | DECIMAL(18, 4) | Yes | Total quantity sold in the aggregate bucket when available. | |
currency_code | VARCHAR(10) | Yes | ISO or business-standard currency code used for the aggregate sales amount. | |
timezone_name | VARCHAR(100) | Yes | Canonical IANA or business-standard time zone name used for the time bucket. |
Technical and ETL properties
| Column | Type | Nullable | Technical Meaning | Notes |
|---|---|---|---|---|
hourly_sales_key | BIGINT | Yes | Stable warehouse key for the hourly sales aggregate row. | |
source_system | VARCHAR(100) | Yes | Canonical name of the source platform that produced the hourly aggregate. | |
tenant_key | BIGINT | Yes | Stable warehouse key for the tenant, brand, or client that owns the aggregate bucket. | |
tenant_name | VARCHAR(255) | Yes | Readable tenant, brand, or client name associated with the aggregate bucket. | |
_etl_batch_id | VARCHAR(256) | Yes | ETL batch lineage identifier. | |
_etl_source_type | VARCHAR(100) | Yes | Source adapter type used by ETL. | |
_etl_ingested_at | TIMESTAMP | No | Warehouse ingestion timestamp for the curated row. | Required ingestion audit timestamp. |