sohailshk opened a new pull request, #76721: URL: https://github.com/apache/airflow/pull/76721
RedshiftDataHook.get_table_primary_key put the schema and table names into the SQL without quotes, so they were parsed as column names and the query failed. S3ToRedshiftOperator relies on this lookup for UPSERT with use_redshift_data=True when upsert_keys is not given, so that combination always failed. Passing the names as Data API parameters matches what RedshiftSQLHook already does and keeps them out of the SQL text. -- 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]
