It is causing SQLSTATE[25P02]: In failed sql transaction: 7 ERROR: current transaction is aborted, commands ignored until end of transaction error and hiding original error exception.
Now we are using real temp tables so the temp table will be automatically deleted at the end of session.
https://github.com/keboola/php-db-import/blob/5717f7b8aa02f20682f059a7552caaad73398d44/src/RedshiftBase.php#L72
It is causing
SQLSTATE[25P02]: In failed sql transaction: 7 ERROR: current transaction is aborted, commands ignored until end of transaction
error and hiding original error exception.Now we are using real temp tables so the temp table will be automatically deleted at the end of session.