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

Preflight check for known unstable hashCodes.

    XMLWordPrintableJSON

Details

    Description

      Data types can only be used as keys, if they have a stable hash code implementation that is deterministic across JVMs. Otherwise, the keyBy() operations will result in incorrect data routing.

      We should eagerly check the key type information for known cases types with unstable hash code, such as

      • arrays
      • enums
      • anything that does not override Object.hashCode

      Attachments

        Issue Links

          Activity

            People

              qqibrow Lu Niu
              sewen Stephan Ewen
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m