[
https://issues.apache.org/jira/browse/FLINK-11226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16732942#comment-16732942
]
Albert Bikeev commented on FLINK-11226:
---------------------------------------
Yep. In short, in my case - a window size
(`EventTimeSessionWindows.withDynamicGap`) is determined by the key value. And
key value itself is determined by the underlying data. So I need a way to
access key a data-point.
I see now, that I could drag key-extracting lambda all around with me, but it
seems rather tedious. Why not access it via KeyedStream?
Thanks.
> Lack of getKeySelector in Scala KeyedStream API unlike Java KeyedStream
> -----------------------------------------------------------------------
>
> Key: FLINK-11226
> URL: https://issues.apache.org/jira/browse/FLINK-11226
> Project: Flink
> Issue Type: Improvement
> Components: DataStream API
> Affects Versions: 1.7.1
> Reporter: Albert Bikeev
> Assignee: vinoyang
> Priority: Major
>
> There is no simple way to access key via Scala KeyedStream API because there
> is no
> getKeySelector method, unlike in Java KeyedStream.
> Temporary workarounds are appreciated.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)