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

Align the behavior of result of internal map state to return empty iterator

    XMLWordPrintableJSON

Details

    Description

      There are different behaviors of result of internal map state. For HeapMapState, #entries(), #keys(), #values(), and #iterator() would all return null. However, for RocksDBMapState, #entries() would return null, while #keys(), #values(), #iterator() would return empty iterator. UserFacingMapState would align these behaviors to empty iterator for users, therefore this should better align these internal behavior to return empty iterator instead of null.

      Attachments

        Issue Links

          Activity

            People

              nicholasjiang Nicholas Jiang
              nicholasjiang Nicholas Jiang
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: