feluelle commented on issue #23514:
URL: https://github.com/apache/airflow/issues/23514#issuecomment-1120145961

   Hi @kalyani-subbiah,
   
   I would say we can change this behavior to use open and write to a real file 
instead of a temp file as like you said you can properly set the file name 
incl. ending.
   
   I can't remember why I initially did it like this. Maybe the use case was 
only to dump the data and then forget about it, as by default it writes to the 
temp dir.
   
   Feel free to open a PR with how you think it should be. But first we should 
check where this method is used in the code base and then also very importantly 
consider backwards compatibility.
   
   Thanks 🙏😊


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