Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit32838c1

Browse files
authored
Update StackOverFlowSurvey.scala
1 parent211e48d commit32838c1

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 pointand max age middle point===")
45+
System.out.println("=== Group by country and aggregate by average salary middle point ===")
4646
valdatasetGroupByCountry= responseWithSelectedColumns.groupBy("country")
4747
datasetGroupByCountry.avg(SALARY_MIDPOINT).show()
4848

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp