Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Go] Bulk/Multi Read fields in ikv go client #128

Open
pushkarmoi opened this issue Mar 3, 2024 · 0 comments
Open

[Go] Bulk/Multi Read fields in ikv go client #128

pushkarmoi opened this issue Mar 3, 2024 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@pushkarmoi
Copy link
Collaborator

pushkarmoi commented Mar 3, 2024

Ikv go client only supports single get in IKVReader - ie a user can fetch one field from one document.
We should add the following batch/multi versions for each field type -

  • Multiple primary keys, one field-name
  • One primary key, multiple field-names

Tip: Minimize object allocation in the returned objects (ex. avoid maps)

Reference (in java client)
https://github.com/inlinedio/ikv-java-client/blob/32c10fc40e9397c7e6ced771a5768e6436244ef5/src/main/java/io/inlined/clients/DefaultInlineKVReader.java#L135

@pushkarmoi pushkarmoi added help wanted Extra attention is needed good first issue Good for newcomers labels Mar 3, 2024
@pushkarmoi pushkarmoi changed the title Bulk/Multi Read fields in ikv go client [Go] Bulk/Multi Read fields in ikv go client Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant