Skip to content

Commit

Permalink
update pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
云峤 committed May 2, 2015
1 parent 76f0c51 commit f080f8d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/pyspark/sql/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,9 @@ 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([Row(a=1, b=2, c=3), Row(a=2, b=1, c=3), Row(a=4, b=1, c=4)]).toDF()
df = self.sqlCtx.parallelize([Row(a=1, b=2, c=3),
Row(a=2, b=1, c=3),
Row(a=4, b=1, c=4)]).toDF()
self.assertEqual([False, True, True],
df.select(df.a.between(df.b, df.c)).collect())

Expand Down

0 comments on commit f080f8d

Please sign in to comment.