DataFrame/DataSet组的行为/优化
df
姓名,姓氏,大小,宽度,长度,体重
val df1 = df.groupBy("surname").agg( sum("size") )val df2 = df.groupBy("surname").agg( sum("width") )
val dfBasic = df.select("surname", "size", "width")
DataFrame/DataSet组的行为/优化df
val df1 = df.groupBy("surname").agg( sum("size") )val df2 = df.groupBy("surname").agg( sum("width") )
val dfBasic = df.select("surname", "size", "width")
慕神8447489