micheal-o commented on code in PR #53931:
URL: https://github.com/apache/spark/pull/53931#discussion_r2723412795
##########
python/pyspark/sql/streaming/query.py:
##########
@@ -721,6 +723,56 @@ def removeListener(self, listener: StreamingQueryListener)
-> None:
self._jsqm.removeListener(listener._jlistener)
+class StreamingCheckpointManager:
+ """
+ A class to manage operations on streaming query checkpoints.
+
+ .. versionadded:: 4.2.0
+
+ Notes
+ -----
+ This API is evolving and currently supported in Spark Classic.
+ """
+
+ def __init__(self, jmanager: "JavaObject") -> None:
+ self._jmanager = jmanager
+
+ def repartition(self, checkpoint_location: str, num_partitions: int,
enforce_exactly_once_sink: bool = True) -> None:
Review Comment:
added to the note section
##########
sql/api/src/main/scala/org/apache/spark/sql/streaming/StreamingCheckpointManager.scala:
##########
@@ -17,9 +17,12 @@
package org.apache.spark.sql.streaming
+import org.apache.spark.annotation.Evolving
+
/**
* A class to manage operations on streaming query checkpoints.
*/
+@Evolving
Review Comment:
done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]