Skip to content

Commit

Permalink
Fix python style in sql/test.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaka1992 committed May 5, 2015
1 parent d2e7f72 commit f928816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyspark/sql/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ def test_rand_functions(self):
assert row[1] >= -4.0 and row[1] <= 4.0, "got: %s" % row[1]

def test_between_function(self):
df = self.sqlCtx.parallelize([
df = self.sc.parallelize([
Row(a=1, b=2, c=3),
Row(a=2, b=1, c=3),
Row(a=4, b=1, c=4)]).toDF()
Expand Down

0 comments on commit f928816

Please sign in to comment.