Scala 学习总结

桑弧蓬矢射四方 at 
最近常用 Scala 这里总结下自己在使用中觉得值得注意的地方。Scala 中 Join 的用法如果我们希望在 Scala 里 join 两个 dataframe 常见的结果是会多出几列如果你直接按照官方语法操作。这里其实是因为你使用的方法不对。参考这个帖子得到更多细节,这里我只总结下最基本的语法和操作。How to avoid duplicate columns after join?最重要的答案就是 perform the join where the joined columns are expressed as an array of strings (or one string) i……