Github user tdas commented on a diff in the pull request: https://github.com/apache/spark/pull/2665#discussion_r20144216 --- Diff: streaming/src/main/scala/org/apache/spark/streaming/dstream/PairDStreamFunctions.scala --- @@ -406,6 +406,31 @@ class PairDStreamFunctions[K, V](self: DStream[(K,V)]) * @param partitioner Partitioner for controlling the partitioning of each RDD in the new * DStream * @param rememberPartitioner Whether to remember the paritioner object in the generated RDDs. + * @param initial state value of each key. + * @tparam S State type + */ + def updateStateByKey[S: ClassTag]( --- End diff -- nit: can you move this function the last version of `updateStateByKey` ? They are ordered from simplest to most complicated, and this one definitely the most complicated one.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org