DailyReport
Summary
DailyReport generates day-level summary metrics for reservations, rooms, and guests. It’s intended to provide a quick daily snapshot for reporting and monitoring.
Where it’s implemented
- Code:
gp-etl-jobs/etl_lib/pipeline/reports/DailyReport.py - Workflow runner: the
Workflowclass will includeDailyReportin its_reportslist and execute it after processing.
Inputs
- Processed reservations dataframe (
res_df) from the workflow context. - Processed rooms dataframe (
rooms_df) and guests dataframe (guest_df) when needed by the report logic.
Outputs
- The report writes aggregated metrics to the configured
DatabaseSink(seeetl_lib/data/DatabaseSink.py), and/or back to the catalog depending on workflow configuration.
Notes / Tips
- DailyReport typically contains counts and sums grouped by
business_date,hotel_id,room_type, or similar dimensions. Check the implementation inDailyReport.pyfor field specifics. - If you want to run only this report, pass
only_run_reports=["DailyReport"]toWorkflow.
Last updated on