Skip to content

Commit 97dcac2

Browse files
committed
add import
1 parent df53348 commit 97dcac2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

python/pyspark/sql/tests.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@
3030
import time
3131
import datetime
3232

33+
if sys.version >= '3':
34+
basestring = unicode = str
35+
long = int
36+
from functools import reduce
37+
else:
38+
from itertools import imap as map
39+
3340
import py4j
3441
try:
3542
import xmlrunner

0 commit comments

Comments
 (0)