[
https://issues.apache.org/jira/browse/FLINK-5299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aljoscha Krettek closed FLINK-5299.
-----------------------------------
Resolution: Won't Do
Closing for now, this should be easily doable by writing a custom
{{KeySelector}} and we should keep complexity in the base system low.
> DataStream support for arrays as keys
> -------------------------------------
>
> Key: FLINK-5299
> URL: https://issues.apache.org/jira/browse/FLINK-5299
> Project: Flink
> Issue Type: Improvement
> Components: API / DataStream
> Affects Versions: 1.2.0
> Reporter: Chesnay Schepler
> Priority: Major
> Labels: star
>
> It is currently not possible to use an array as a key in the DataStream api,
> as it relies on hashcodes which aren't stable for arrays.
> One way to implement this would be to check for the key type and inject a
> KeySelector that calls "Arrays.hashcode(values)".
--
This message was sent by Atlassian Jira
(v8.3.4#803005)