ccao-data / data-architecture

Codebase for CCAO data infrastructure construction and management
https://ccao-data.github.io/data-architecture/
6 stars 4 forks source link

Tweak the output of the `--print-table-refresh-command` flag for QC reports #614

Closed jeancochrane closed 1 month ago

jeancochrane commented 1 month ago

I noticed while doing a QC town close export run with @wrridgeway today that the output that the export_qc_town_close_reports.py script prints to the console when the --print-table-refresh-command flag is set is slightly incorrect in two ways:

  1. It implies that the caller needs to shell into the server, whereas I am the only team member who needs to do this
  2. It emits a legacy docker-compose CLI command instead of the newer docker compose

This PR fixes those two problems so that the --print-table-refresh-command output is more correct. We also update the docs in dbt/README.md to match this change.