Skip to Content

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 Workflow class will include DailyReport in its _reports list 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 (see etl_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 in DailyReport.py for field specifics.
  • If you want to run only this report, pass only_run_reports=["DailyReport"] to Workflow.
Last updated on