线程“主”中的异常org.apache.spark.sql.catalyst.errors.package $ TreeNodeException:执行,树:Exchange SinglePartition

时间:2018-10-23 15:49:01

标签: scala apache-spark apache-spark-sql

冒着被低估的风险,我必须寻求有关此错误的帮助。我在相当大的数据帧上运行了几个简单的联接和计算。一切正常,直到我决定写入数据并通过以下语句:

import tkinter as tk

root = tk.Tk()
text = tk.Text(root)

text.insert("end", "line one\nthis is line two\nand this is the third line")

index = "2.10"
new_index = text.index("{} + {} chars".format(index, 18))
assert(new_index=="3.11")

然后出现以下错误:

FinalTable.repartition(1).write.mode(SaveMode.Overwrite).parquet(OutputFilePath + "/day=" + Day)

0 个答案:

没有答案