Closed vaibhavpals closed 7 years ago
I am having same issue, is there a work around for this?
@mittalakhilesh This is a bug and I am working on this. Current there is no workaround for this issue. I'll update this ticket once I push the fix.
@samuel-pt please take a look at the pull request submitted by me to fix this issue
Sent from my OnePlus ONEPLUS A3003 using FastHub
Currently I used workaround of converting DF to RDD and then again back to DF with schema.
val dfRdd = df.rdd val newDf = sparkSession.createDataFrame(dfRdd, schema)
newDf
This issue is resolved by https://github.com/springml/spark-sftp/commit/55a6764e77b767d64835ed7c1ac32438d7023398
I want to use a custom schema for creating the dataframe. On executing the below code
The output i get is as follows:
Clearly the schema provided is not being considered. Any suggestions on how to get this working?