Github user mateiz commented on a diff in the pull request:

    https://github.com/apache/spark/pull/455#discussion_r13147535
  
    --- Diff: python/pyspark/context.py ---
    @@ -311,6 +311,98 @@ def wholeTextFiles(self, path, minPartitions=None):
             return RDD(self._jsc.wholeTextFiles(path, minPartitions), self,
                        PairDeserializer(UTF8Deserializer(), 
UTF8Deserializer()))
     
    +    def sequenceFile(self, name, key_class="org.apache.hadoop.io.Text", 
value_class="org.apache.hadoop.io.Text",
    +                     key_wrapper="", value_wrapper="", minSplits=None):
    --- End diff --
    
    The first parameter should be called `path` instead of `name` 
(unfortunately parameter names matter in Python due to the ability to pass 
named arguments).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to