We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 211e48d commit 32838c1Copy full SHA for 32838c1
src/main/scala/com/sparkTutorial/sparkSql/StackOverFlowSurvey.scala
@@ -42,7 +42,7 @@ object StackOverFlowSurvey {
42
System.out.println("=== Print the result by salary middle point in descending order ===")
43
responseWithSelectedColumns.orderBy(responseWithSelectedColumns.col(SALARY_MIDPOINT).desc).show()
44
45
- System.out.println("=== Group by country and aggregate by average salary middle point and max age middle point ===")
+ System.out.println("=== Group by country and aggregate by average salary middle point ===")
46
val datasetGroupByCountry = responseWithSelectedColumns.groupBy("country")
47
datasetGroupByCountry.avg(SALARY_MIDPOINT).show()
48
0 commit comments