eladkal commented on PR #65789:
URL: https://github.com/apache/airflow/pull/65789#issuecomment-4314723359

   > Currently there is no dedicated operator to read an S3 object's content. 
Users must use PythonOperator with custom code or use the hook directly. This 
operator provides a first-class way to read S3 objects, consistent with the 
existing S3 operator family.
   
   It make sense to do it with PythonOperator because reading the head is not 
the final action they do... after the read the do something with it in the same 
function. That is very OK.
   
   I don't see the value of reading the file head just for sake of pushing to 
xcom. Can describe a real production use case for this?


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