apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chandni Singh (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Deleted] (APEXMALHAR-2276) ManagedState: value of a key does not get over-written in the same time bucket
Date Tue, 04 Oct 2016 20:51:21 GMT

     [ https://issues.apache.org/jira/browse/APEXMALHAR-2276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chandni Singh updated APEXMALHAR-2276:
--------------------------------------
    Comment: was deleted

(was: Yes time gets mapped to a time bucket, however the exact value of time is lost and currently
we cannot derive time from the timebucket. 

This affects cases where we want to save the most recent value of a key. In use-cases, like
de-duplication/aggregation this is not the case.

In De-duplication we check whether there is a key present and drop the event if its duplicate.

In Aggregation, we use the existing value in the time-bucket and aggregate it with new value.
)

> ManagedState: value of a key does not get over-written in the same time bucket
> ------------------------------------------------------------------------------
>
>                 Key: APEXMALHAR-2276
>                 URL: https://issues.apache.org/jira/browse/APEXMALHAR-2276
>             Project: Apache Apex Malhar
>          Issue Type: Bug
>            Reporter: Siyuan Hua
>            Assignee: Chandni Singh
>             Fix For: 3.6.0
>
>
> For example:
> ManagedTimeUnifiedStateImpl mtus;
> mtus.put(10000, key1, val1)
> mtus.put(10000, key1, val2)
> mtus.get(10000, key1).equals(val2) will return false



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message