jeffolsi opened a new issue #8565:
URL: https://github.com/apache/airflow/issues/8565


   Currently SalesforceHook has function `write_object_to_file` which query 
salesforce and save the output to file. On the way it also uses df. The 
function even return the df.
   the problem is that if someone wants only df he must also provide 
`file_name` **which can't be empty!** and set `fmt=None` this doesn't really 
work well and it causes troubles.
   
   The function `write_object_to_file` should be divided to `object_to_df` 
which returns df and then the `write_object_to_file` can uses `object_to_df` as 
the first step before exporting to file.


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to