Created 12-09-2015 09:38 AM
scala> df.select("name","age").write().format("com.databricks.spark.csv").mode(SaveMode.Append).saveAsTable("PersonHiveTable"); <console>:39: error: org.apache.spark.sql.DataFrameWriter does not take parameters
Created 12-10-2015 04:31 AM
@Divya Gehlot
Since this is scala and not Java, the following should work
df.select("name","age").write.format("com.databricks.spark.csv").mode(SaveMode.Append).saveAsTable("PersonHiveTable");
View solution in original post