Global windows and purging

Posted by Elias Levy on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Global-windows-and-purging-tp16529.html

The documentation on streaming windows has the following warning:

Attention Purging will simply remove the contents of the window and will leave any potential meta-information about the window and any trigger state intact

Does this mean that if you are using global windows, purging is not sufficient the discard all window state for the given key?

Is there a way to discard global window state when you are done with it or will the state grow indefinitely  as new keys come in?