dshemetov commented on issue #55956: URL: https://github.com/apache/airflow/issues/55956#issuecomment-5139819414
Would like to put my vote in for this feature. Our intended use case: we have a backfill DAG that iterates over files in an S3 bucket and emits an Asset event per file in a time window and emits an Asset event per file. A downstream pipeline DAG grabs these, but is written to handle only one file (Asset event) per dagrun - it throws if it gets more than 1 Asset event and we mostly manage to achieve that by throttling the Asset emission rate on the backfill DAG (with sleep/queues). It's a bit hacky, but the approach mostly works. Still, it would be nice to have this not be a variable at all. (Happy to hear alternative approaches; to be clear - it's not really practical for us to make the downstream pipeline .expand() over multiple files.) -- 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]
