JDarDagran commented on code in PR #35794: URL: https://github.com/apache/airflow/pull/35794#discussion_r1402687254
########## airflow/providers/amazon/aws/hooks/redshift_sql.py: ########## @@ -174,3 +175,63 @@ def get_conn(self) -> RedshiftConnection: conn_kwargs_dejson = self.conn.extra_dejson conn_kwargs: dict = {**conn_params, **conn_kwargs_dejson} return redshift_connector.connect(**conn_kwargs) + + def get_openlineage_database_info(self, connection) -> DatabaseInfo: + """Returns Redshift specific information for OpenLineage.""" + from airflow.providers.openlineage.sqlparser import DatabaseInfo + + authority = self._get_openlineage_redshift_authority_part(connection) Review Comment: It's `part` as it's an authority part required for constructing namespace in OpenLineage events. -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org