Skip to content

Commit

Permalink
Fix python unit test in sql/test. =_= I forget to commit this file la…
Browse files Browse the repository at this point in the history
…st time.
  • Loading branch information
kaka1992 committed May 5, 2015
1 parent f928816 commit b15360d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/pyspark/sql/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,8 @@ def test_between_function(self):
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())
self.assertEqual([Row(a=2, b=1, c=3), Row(a=4, b=1, c=4)],
df.filter(df.a.between(df.b, df.c)).collect())

def test_save_and_load(self):
df = self.df
Expand Down

0 comments on commit b15360d

Please sign in to comment.