Skip to content

Commit 32838c1

Browse files
authored
Update StackOverFlowSurvey.scala
1 parent 211e48d commit 32838c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/com/sparkTutorial/sparkSql/StackOverFlowSurvey.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ object StackOverFlowSurvey {
4242
System.out.println("=== Print the result by salary middle point in descending order ===")
4343
responseWithSelectedColumns.orderBy(responseWithSelectedColumns.col(SALARY_MIDPOINT).desc).show()
4444

45-
System.out.println("=== Group by country and aggregate by average salary middle point and max age middle point ===")
45+
System.out.println("=== Group by country and aggregate by average salary middle point ===")
4646
val datasetGroupByCountry = responseWithSelectedColumns.groupBy("country")
4747
datasetGroupByCountry.avg(SALARY_MIDPOINT).show()
4848

0 commit comments

Comments
 (0)