patricker opened a new issue #22065:
URL: https://github.com/apache/airflow/issues/22065


   ### Description
   
   All DB to GCS Operators should track the per file and total row count 
written for metadata and validation purposes.
   
   - Optionally, based on param, include the row count metadata as GCS file 
upload metadata.
   - Always return row count data through XCom. Currently this operator has no 
return value.
   
   ### Use case/motivation
   
   Currently, there is no way to check the uploaded files row count without 
opening the file. Downstream operations should have access to this information, 
and allowing it to be saved as GCS metadata and returning it through XCom makes 
it readily available for other uses.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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]


Reply via email to