Databricks ConvertToDelta - Parquet 表到 Delta - “AssertionError:断言失败:发现文件名冲突”

问题描述

sampleDf = spark.createDataFrame([(1,'A',2021,1,5),(1,'B',6),'C',7),],['msg_id','msg','year','month','day'])
sampleDf.show()
sampleDf.write.format("parquet").option("path","/mnt/datalake/test").mode("append").partitionBy("msg_id","year","month","day").saveAsTable("test_rawais") 

结果如下表:

enter image description here

现在,当我将此镶木地板表转换为增量表时,出现以下错误

enter image description here

如果我直接创建一个新的增量表而不是“转换为增量”,那么它就可以工作。

enter image description here

任何输入都会有所帮助。 谢谢。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)