[ 
https://issues.apache.org/jira/browse/APEXMALHAR-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16194743#comment-16194743
 ] 

ASF GitHub Bot commented on APEXMALHAR-2271:
--------------------------------------------

vrozov closed pull request #495: APEXMALHAR-2271 Implement a multimap with time 
extract from value
URL: https://github.com/apache/apex-malhar/pull/495
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Special SpillableSetMultimap<K, Window.SessionWindow<K>> handling in 
> ManagedState in SpillableSessionWindowedStorage
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: APEXMALHAR-2271
>                 URL: https://issues.apache.org/jira/browse/APEXMALHAR-2271
>             Project: Apache Apex Malhar
>          Issue Type: Improvement
>            Reporter: David Yan
>            Assignee: Siyuan Hua
>
> The problem with this data structure is that the key is not time based.
> This poses a problem because we will have a problem purging.
> One idea is to have `put` write the key and the window set to the timebucket 
> that the latest window in that set belongs to, which means possible 
> duplication of the key and the window set, and make `get` do a for loop on 
> all time buckets to find the key. That way, purging based on the time bucket 
> can still be done.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to