Juan Cardena Book · $500 Blog
Solutions
From prototype to production. From solo to global.
Book a strategy session · $500
04
Hotel data / The full system / Lakehouse and SQL model Local draft
Layer 4 · System layer 4 of 6

Lakehouse and SQL model

Raw copies shaped into one reservation-level model with written business rules.

The need

Raw tables are not answers. Segments, capacity, commission and currency rules lived inside old reports, and different reports gave different numbers for the same night.

How it works
Raw tables100+ per hotelnightlySQL modelrules + KPIsvalidatedOne answersame number everywhere
What I build

The approach

Raw to model

100+ tables from 64 hotel databases and one central system shaped nightly into one model at reservation and day level.

Business rules written down

Attribution segments rebuilt from the old report logic, then moved to dynamic rules; capacity, commission, cancellations and currency defined once.

Validated in stages

Each change checked on 3 hotels, then 6, then all 62 active hotels, against the old warehouse and the property system.

Cloud query layer

Snapshots in cloud storage queried with SQL, and linked back into the warehouse for pace reporting.

Proof

In numbers

36capacity and KPI calculations defined
V1 → V19model versions, 2021 to 2024
16individual attribution rules, made dynamic in 2024
Used in
Most of the value was in the rules that only lived inside old reports.The architect’s view

Typical systemsSQL Server, Amazon S3, Glue and Athena, linked servers.

Running many hotels on many systems? Let’s map yours.Book a strategy session · $500