Skip to content

Commit 4939a70

Browse files
committed
added new line at end for python style
1 parent 0b46148 commit 4939a70

File tree

1 file changed

+2
-2
lines changed
  • examples/src/main/python

1 file changed

+2
-2
lines changed

examples/src/main/python/sql.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
if len(sys.argv) != 2:
2626
print >> sys.stderr, "Usage: sql <file>"
2727
exit(-1)
28-
sc = SparkContext(appName="PythonWordCount")
28+
sc = SparkContext(appName="PythonSQL")
2929
sqlContext = SQLContext(sc)
3030

3131
# A JSON dataset is pointed to by path.
@@ -49,4 +49,4 @@
4949
for each in teenagers.collect():
5050
print each[0]
5151

52-
sc.stop()
52+
sc.stop()

0 commit comments

Comments
 (0)