阅读背景:

如何添加一个持久的行id列来触发DataFrame?

来源:互联网 

This question is not new, however I am finding surprising behavior in Spark. I need to add a column of row IDs to a DataFrame. I used the DataFrame method monotonically_increasing_id() and It does give me an additional col of uniques row IDs (that are NOT consecutive by the way, but are unique). This question is not new, however I am finding




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: