je-ik commented on issue #39782:
URL: https://github.com/apache/beam/issues/39782#issuecomment-5314626267

   The problem is that `FlinkOrderedListState.readAsMap()` return `Map<Instant, 
TimestampedValue<T>>`, which prevents multiple records with the same Instant. 
This would have to be changed to `MultiMap` or similar approach. Also there is 
missing `@ValidatesRunner` suite that will cover this behavior.
   
   Overall (due to missing equivalent in Flink state primitives) the 
implementation is quite inefficient (mostly if the list grows larger), as it 
sorts the complete list on every read() or readRange().


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to