apache / apache/beam

[RedisIO] - it's not possible to retrieve with PFCOUNT command the count of all the unique queries

Open
#21,199 0 comments 0 reactions 0 assignees View on GitHub
io java new feature P3 redis
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

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:

 

``
```

public Response readUsingPFCOUNTCommand(String key) {

return pipeline.pfcount(key, value);

}
```

``

Imported from Jira [BEAM-13326](https://issues.apache.org/jira/browse/BEAM-13326). Original Jira may contain additional context.
Reported by: robertosf90.

Contributor guide

Open the contributing guide

Research direction

Start in the RedisIO Read API and inspect how Redis commands are exposed, focusing on the requested PFCOUNT operation and the proposed readUsingPFCOUNTCommand entry point. Done means the public Read API can retrieve the count of unique queries with PFCOUNT and has coverage for that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, redis
Domain
database
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.