Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
1.6.0
-
None
-
None
Description
Hi,
While writing the dataframe to HIVE table with "SaveMode.Overwrite" option.
E.g.
tgtFinal.write.mode(SaveMode.Overwrite).saveAsTable("tgt_table")
sqlContext drop the table instead of truncating.
This is causing error while overwriting.
Adding stacktrace & commands to reproduce the issue,
Thanks & Regards,
Dhaval
Attachments
Attachments
Issue Links
- duplicates
-
SPARK-16410 DataFrameWriter's jdbc method drops table in overwrite mode
- Resolved