You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2022/01/13 22:04:00 UTC
[jira] [Commented] (BEAM-13326) [RedisIO] - it's not possible to retrieve with PFCOUNT command the count of all the unique queries
[ https://issues.apache.org/jira/browse/BEAM-13326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17475779#comment-17475779 ]
Kenneth Knowles commented on BEAM-13326:
----------------------------------------
Nice idea. [~robertosf90], would you feel like trying to add this? It might not be too hard, and then you don't have to wait for some other volunteer to choose to do it.
I see that [~aromanenko] and [~masahito] have both modified RedisIO somewhat recently so maybe they could review or answer questions.
> [RedisIO] - it's not possible to retrieve with PFCOUNT command the count of all the unique queries
> --------------------------------------------------------------------------------------------------
>
> Key: BEAM-13326
> URL: https://issues.apache.org/jira/browse/BEAM-13326
> Project: Beam
> Issue Type: New Feature
> Components: io-java-redis
> Reporter: Roberto
> Priority: P2
> Labels: Redis
>
> Currently, it's not possible to use PFCOUNT command to retrieve the unique queries
>
> it seems that what we need to do is to create a public function on Read that would do it something like:
>
> {{}}
> {code:java}
> public Response<Long> readUsingPFCOUNTCommand(String key) {
> return pipeline.pfcount(key, value);
> }{code}
> {{}}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)