Github user StephanEwen commented on the pull request:

    
https://github.com/apache/flink/commit/30c9e2b683bf7f4776ffc23b6a860946a4429ae5#commitcomment-21018833
  
    Great to have this in!
    I would suggest to mention in the JavaDocs of `MapState.size()` that this 
can be a potentially expensive operation, because it may entail iterating over 
many entries in some state backends (like RocksDB).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to