Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Do
-
1.2.0
-
None
Description
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)".
Attachments
Issue Links
- relates to
-
FLINK-5874 Reject arrays as keys in DataStream API to avoid inconsistent hashing
- Closed