sql-runner
sql-runner copied to clipboard
Make timeout for individual query user-configurable
Currently it's hard-coded to 8 hours:
https://github.com/snowplow/sql-runner/blob/0ae72da4357bd7627eda99602d0139faaf437d06/sql_runner/postgres_target.go#L25
It would be nice to set this as part of the playbook, given that different playbooks might have very different timeout expectations (a CREATE TABLE
DDL versus a full database VACUUM
).
Pushing back