Skip to content

Commit 858e74c

Browse files
committed
compatitable with python 2.6
1 parent 7ef2aa0 commit 858e74c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyspark/context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ def show_profiles(self):
814814
print "=" * 60
815815
print "Profile of RDD<id=%d>" % id
816816
print "=" * 60
817-
stats.sort_stats("tottime", "cumtime").print_stats()
817+
stats.sort_stats("time", "cumulative").print_stats()
818818
# mark it as showed
819819
self._profile_stats[i][2] = True
820820

0 commit comments

Comments
 (0)