You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2022/01/11 16:58:02 UTC

[jira] [Commented] (BEAM-13284) [RedisIO] - Writing with method PFADD doesn't set TTL

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

Beam JIRA Bot commented on BEAM-13284:
--------------------------------------

This issue is assigned but has not received an update in 30 days so it has been labeled "stale-assigned". If you are still working on the issue, please give an update and remove the label. If you are no longer working on the issue, please unassign so someone else may work on it. In 7 days the issue will be automatically unassigned.

> [RedisIO] - Writing with method PFADD doesn't set TTL
> -----------------------------------------------------
>
>                 Key: BEAM-13284
>                 URL: https://issues.apache.org/jira/browse/BEAM-13284
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-redis
>            Reporter: Roberto
>            Assignee: Robert Bradshaw
>            Priority: P2
>              Labels: stale-assigned
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> RedisIO PFADD writing does not support TTL
>  
> if we check the method writeUsingHLLCommand: [https://github.com/apache/beam/blob/master/sdks/java/io/redis/src/main/java/org/apache/beam/sdk/io/redis/RedisIO.java]
>  
> the variable expireTime is not being used
>  
> {code:java}
>   private void writeUsingHLLCommand(KV<String, String> record, Long expireTime) { 
>        String key = record.getKey(); 
>        String value = record.getValue();
>         pipeline.pfadd(key, value);
>   } {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)