-
Notifications
You must be signed in to change notification settings - Fork 13.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SalesforceHook missing method to return dataframe #8565
Labels
Comments
@VinodKumarLogan sure |
6 tasks
Created a PR for the issue: #8644 |
potiuk
pushed a commit
that referenced
this issue
May 17, 2020
…8644) * add feature for skipping writing to file * add SalesforceHook missing method to return dataframe only function write_object_to_file is 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 * fixed exception message * fix review comments - removed filename check for None
fixed in #8644 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 setfmt=None
this doesn't really work well and it causes troubles.The function
write_object_to_file
should be divided toobject_to_df
which returns df and then thewrite_object_to_file
can usesobject_to_df
as the first step before exporting to file.The text was updated successfully, but these errors were encountered: