Skip to content
This repository has been archived by the owner on Dec 4, 2019. It is now read-only.

Commit

Permalink
Removed the @unittest.skip for the gapply_python_only_udt_val test.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaysaini725 committed Jun 23, 2017
1 parent 4882a9b commit 7583ee1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions python/spark_sklearn/tests/test_gapply.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,6 @@ def pandasAggFunction(series):
dataGen = lambda: (random.randrange(GapplyTests.NVALS), random.randrange(GapplyTests.NVALS))
self.checkGapplyEquivalentToPandas(pandasAggFunction, dataType, dataGen)

@unittest.skip("""
python only UDTs can't be nested in arraytypes for now, see SPARK-15989
this is only available starting in Spark 2.0.1
""")
def test_gapply_python_only_udt_val(self):
def pandasAggFunction(series):
x = float(series.apply(lambda pt: int(pt.x) + int(pt.y)).sum())
Expand Down

0 comments on commit 7583ee1

Please sign in to comment.