-
Notifications
You must be signed in to change notification settings - Fork 99
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
Why is df.coalesce(1) necessary? #57
Comments
@sunayansaikia - That was done to have a single file in SFTP |
Hey @samuel-pt : is this a hard requirement? Can we not download multiple files for upload via SFTP? Can't this option be made configurable? |
@sunayansaikia - Its not hard. we can just add a configurable parameter and use it. Following are needed
|
ok - cool. Will take a checkout and see. |
@sunayansaikia, the below PR should be able to fix the coalesce numPartitions configuration |
@shaikmanu797 : Great! |
Hey folks,
Just wanted to understand why 'df.coalesce(1)' was done while writing the dataframe to DFS?
Please refer code here: https://github.com/springml/spark-sftp/blob/master/src/main/scala/com/springml/spark/sftp/DefaultSource.scala#L249
Thanks
The text was updated successfully, but these errors were encountered: