[ADAP-870] [Bug] Adapter seems to malformat kill queries when using --fail-fast dbt-redshift 1.5.8 #593
Closed
2 tasks done
Labels
bug
Something isn't working
Is this a new bug in dbt-redshift?
Current Behavior
Whenever running dbt tests or run statements (didn't check for other commands, but given the adapter I believe to be the same issue) with the
--fail-fast
flag, dbt seems to try to kill any early failing tests withpg_termiante_backend
method, but it's malformating the query using[]
, as can be seen in the logs.According to Redshift docs, pg_terminate_backend expects a integer.
Expected Behavior
No errors when running in --fail-fast
Steps To Reproduce
--> Sample model
teste.sql
--> sample yaml
teste.yml
--> Execute
dbt test --select teste --fail-fast
Relevant log output
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: