[
https://issues.apache.org/jira/browse/FLINK-14950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16984878#comment-16984878
]
Jiayi Liao commented on FLINK-14950:
------------------------------------
[~SleePy]
{{WindowOperator.Context}} binds a specific key every time it's used. What you
said makes a little sense to me but I believe this is a general use case. Maybe
we should wait for more responses from others.
By the way, Since the key access is not allowed we have to call
{{context.toString()}} and analyze the pattern to get the binding key. :(
> Support getKey in WindowOperator.Context
> ----------------------------------------
>
> Key: FLINK-14950
> URL: https://issues.apache.org/jira/browse/FLINK-14950
> Project: Flink
> Issue Type: Improvement
> Components: API / DataStream
> Affects Versions: 1.9.1
> Reporter: Jiayi Liao
> Priority: Major
>
> In our scenario, user needs to access the key of {{WindowOperator.Context}}
> to determine how to deal with the window.
> I think it's reasonable to support {{getKey()}} method in
> {{WindowOperator.Context}}.
> cc [~aljoscha]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)