mariotaddeucci edited a comment on issue #19328: URL: https://github.com/apache/airflow/issues/19328#issuecomment-957034378
> > #18844 got errors using `RedshiftSQLHook ` when executing multiple commands into a prepared statement. I'll fix it. > > How serious / how much of a regression change is it @mariotadeucci ? @potiuk Happend on `S3ToRedshiftOperator` with specific configuration. By using "UPSERT" or "REPLACE" is generate an sql block with multiple queries. The `RedshiftSQLHook` don't support execute multiple queries in a single call of `execute`. To fix it just need to convert the single query string to a list of queries. Fix is available on PR #19358. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
