Spark 中Java实现数据库Row转Rating
摘要:
Dataset<Row> ratings = mlsc.sql("SELECT user,movie,rating FROM data");JavaRDD<Row> rowJavaRDD = ratings.javaRDD();JavaRDD<String[]> stringJavaRDD = ro 阅读全文
posted @ 2017-03-20 20:49 BruceSue 阅读(3578) 评论(0) 推荐(0) 编辑