Spark Scala groupBy multiple columns with values
stackoverflow.com › questions › 60599007Mar 9, 2020 · Spark Scala groupBy multiple columns with values. Ask Question. Asked 2 years, 10 months ago. Modified 2 years, 10 months ago. Viewed 4k times. 0. I have a following data frame ( df) in spark. | group_1 | group_2 | year | value | | "School1" | "Student" | 2018 | name_aaa | | "School1" | "Student" | 2018 | name_bbb | | "School1" | "Student" | 2019 | name_aaa | | "School2" | "Student" | 2019 | name_aaa |.