Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.2.0
-
None
Description
Complex state-updating and/or timeout-handling logic in mapGroupsWithState functions may require taking decisions based on the current event-time watermark and/or processing-time. Currently, you can use the sql function `current_timestamp` to get the current processing time, but it needs to passed inserted in every row with a select, and then passed through the encoder, which isnt efficient. Furthermore, there is no way to get the current watermark.
This JIRA is to expose them through the GroupState API.
Attachments
Issue Links
- links to