Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-5299

DataStream support for arrays as keys

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Do
    • 1.2.0
    • None
    • API / DataStream

    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

          Activity

            People

              Unassigned Unassigned
              chesnay Chesnay Schepler
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: