The format of the existing table project_bsc_dhr.bloc_views is HiveFileFormat. It doesn't match the specified format OrcFileFormat.;
new_df.write.mode(SaveMode.Append).format("orc").partitionBy("nd").saveAsTable("table1")
将Append改为Overwrite,先写入一部分数据,然后再改成Append
2964

被折叠的 条评论
为什么被折叠?



