Why my spark application fails when dataframe is referenced after transformation within a loop?

前端 未结 0 1752
温柔的废话
温柔的废话 2021-01-31 19:29

I have a set of spark dataframe transforms which is similar to the below code

df.cache()
for i in [1,2,3]:
  tempdf = df.select([\'key\'])
  df = df.join(tempdf,o         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题