fn hydration_status_query(allowed_lag_secs: i64) -> StringExpand description
Build the shared hydration-status SQL query.
Both get_deployment_hydration_status (one-shot SELECT) and
subscribe_deployment_hydration (SUBSCRIBE) use the same CTE logic.
The query expects a single $1 parameter for the cluster name LIKE pattern.