Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.1.2
-
None
-
None
Description
As per documentation GroupState.getCurrentWatermarkMs() returns -1 when operating on a static Dataframe, as found here: https://spark.apache.org/docs/3.1.3/api/scala/org/apache/spark/sql/streaming/GroupState.html#getCurrentWatermarkMs():Long
In reality this function throws UnsupportedOperationException as documented when operating on a DataFrame without a watermark set. This happens even if the static DataFrame had a (useless) watermark configured.