Github user tdas commented on a diff in the pull request:
https://github.com/apache/spark/pull/7185#discussion_r34231360
--- Diff: python/pyspark/streaming/util.py ---
@@ -37,6 +37,11 @@ def __init__(self, ctx, func, *deserializers):
self.ctx = ctx
self.func = func
self.deserializers = deserializers
+ self._rdd_wrapper = lambda jrdd, ctx, ser: RDD(jrdd, ctx, ser)
+
+ def rdd_wrapper(self, func):
--- End diff --
Shouldnt this be called `set_rdd_wrapper`? Can you put some comments on
what it does and why it may require setting a custom wrapper?
---
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]