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

    https://github.com/apache/spark/pull/1791#discussion_r16209395
  
    --- Diff: python/pyspark/rdd.py ---
    @@ -1755,6 +1941,114 @@ def _defaultReducePartitions(self):
         # on the key; we need to compare the hash of the key to the hash of the
         # keys in the pairs.  This could be an expensive operation, since those
         # hashes aren't retained.
    +    # def lookup(self, key):
    +    #     """
    +    #     Return the list of values in the RDD for key key.
    +    #     """
    +
    +    def _is_pickled(self):
    +        """ Return this RDD is serialized by Pickle or not. """
    +        der = self._jrdd_deserializer
    +        if isinstance(der, PickleSerializer):
    +            return True
    +        if isinstance(der, BatchedSerializer) and 
isinstance(der.serializer, PickleSerializer):
    +            return True
    +        return False
    +
    +    def _to_jrdd(self):
    +        """ Return an JavaRDD """
    --- End diff --
    
    Add that this is not batched


---
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.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to