[ 
https://issues.apache.org/jira/browse/FLINK-11226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16961848#comment-16961848
 ] 

vinoyang commented on FLINK-11226:
----------------------------------

[~dwysakowicz] We can continue to mark it as @Internal in KeyedStream.scala. 
`getKeySelector` is not a precedent, `getKeyType` is also provided to 
KeyedStream.scala in a similar form. I think it's also necessary to maintain a 
consistent experience with Java and Scala users.

> 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: API / DataStream
>    Affects Versions: 1.7.1
>            Reporter: Albert Bikeev
>            Assignee: vinoyang
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)

Reply via email to