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

Commitc7168ce

Browse files
author
Pedro Bernardo
committed
Fixed app name on rdd/airports/AirportsInUsaSolution.py
1 parentafc939b commitc7168ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎rdd/airports/AirportsInUsaSolution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def splitComma(line: str):
66
return"{}, {}".format(splits[1],splits[2])
77

88
if__name__=="__main__":
9-
sc=SparkContext("local","count")
9+
sc=SparkContext("local","airports")
1010

1111
airports=sc.textFile("in/airports.text")
1212
airportsInUSA=airports.filter(lambdaline :Utils.COMMA_DELIMITER.split(line)[3]=="\"United States\"")

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp