Skip to content

Commit

Permalink
TST: Adds test for failure case in pyspark distinct on
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Jevnik committed Jul 8, 2015
1 parent 7cdc7a0 commit adf9158
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions blaze/compute/tests/test_spark.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,14 @@ def test_distinct(rdd):
set(['Alice', 'Bob'])


@pytest.mark.xfail(
raises=NotImplementedError,
reason='cannot specify columns to distinct on yet',
)
def test_distinct_in(rdd):
compute(t.distinct('name'), rdd)


def test_join(rdd, rdd2):

joined = join(t, t2, 'name')
Expand Down

0 comments on commit adf9158

Please sign in to comment.