摘要: 1 dataset df1,df2,df3 2 3 //该方法可以执行成功 4 df3= df1.join(df2,"post_id").selectExpr("hostname,request_date,post_id,title,author,name as category".split(",")); //innner join 5 6 acc = df1.withCol... 阅读全文
posted @ 2018-09-03 16:03 一直爬行的蜗牛牛 阅读(5282) 评论(0) 推荐(0) 编辑
摘要: 1. List 转 Seq: List<String> tmpList = new ArrayList<>(); tmpList.add("abc"); Seq<String> tmpSeq = JavaConverters.asScalaIteratorConverter(tmpList.iter 阅读全文
posted @ 2018-09-03 15:19 一直爬行的蜗牛牛 阅读(476) 评论(0) 推荐(0) 编辑