kacpermuda commented on code in PR #70816:
URL: https://github.com/apache/airflow/pull/70816#discussion_r3704393363
##########
providers/google/src/airflow/providers/google/cloud/transfers/bigquery_to_sql.py:
##########
@@ -228,11 +241,24 @@ def get_openlineage_facets_on_complete(self,
task_instance) -> OperatorLineage |
else:
output_name = f"{table_part}"
+ transferred_input_dataset = Dataset(
+ namespace=input_dataset.namespace,
+ name=input_dataset.name,
+ facets={"schema": transferred_input_schema_facet} if
transferred_input_schema_facet else {},
+ )
Review Comment:
Sorry, why are we creating a dataset again here? We already have
`input_dataset` above
--
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]