Skip to content

Commit f928816

Browse files
committed
Fix python style in sql/test.
1 parent d2e7f72 commit f928816

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyspark/sql/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ def test_rand_functions(self):
439439
assert row[1] >= -4.0 and row[1] <= 4.0, "got: %s" % row[1]
440440

441441
def test_between_function(self):
442-
df = self.sqlCtx.parallelize([
442+
df = self.sc.parallelize([
443443
Row(a=1, b=2, c=3),
444444
Row(a=2, b=1, c=3),
445445
Row(a=4, b=1, c=4)]).toDF()

0 commit comments

Comments
 (0)