Skip to content

Commit

Permalink
Fixed problem with long in python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaysaini725 committed Aug 2, 2017
1 parent ac4cf70 commit 470dd7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/pyspark/ml/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
if sys.version > '3':
basestring = str
unicode = str
long = int

from pyspark import SparkContext, since
from pyspark.ml.common import inherit_doc
Expand Down

0 comments on commit 470dd7c

Please sign in to comment.