初始化一张表
overwriteSchema 默认为false
图中注意事项:
Note that the schema can't be overwritten when using
'replaceWhere'.
overwriteSchema 配置为true 可成功覆盖插入
overwriteSchema=true的配置项必须配置.mode("overwrite") 而不能是.mode("append")
测试代码
Seq(
("a", "2021")
, ("b0", "2022")
, ("b