Skip to content

Commit

Permalink
Default key/value classes for sequenceFile asre None
Browse files Browse the repository at this point in the history
  • Loading branch information
MLnick committed Jun 3, 2014
1 parent 085b55f commit 5757f6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/pyspark/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,8 @@ def _dictToJavaMap(self, d):
jm[k] = v
return jm

def sequenceFile(self, path, keyClass, valueClass, keyConverter=None, valueConverter=None,
minSplits=None):
def sequenceFile(self, path, keyClass=None, valueClass=None, keyConverter=None,
valueConverter=None, minSplits=None):
"""
Read a Hadoop SequenceFile with arbitrary key and value Writable class from HDFS,
a local file system (available on all nodes), or any Hadoop-supported file system URI.
Expand Down

0 comments on commit 5757f6e

Please sign in to comment.