Github user HyukjinKwon commented on a diff in the pull request: https://github.com/apache/spark/pull/21167#discussion_r184854225 --- Diff: python/pyspark/streaming/dstream.py --- @@ -249,15 +249,15 @@ def countByValue(self): """ return self.map(lambda x: (x, 1)).reduceByKey(lambda x, y: x+y) - def saveAsTextFiles(self, prefix, suffix=None): + def saveAsTextFiles(self, prefix, suffix=None, compressionCodecClass=None): """ Save each RDD in this DStream as at text file, using string representation of elements. --- End diff -- Shall we add a param doc?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org