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

[Feature][BanyanDB] Support for Retrieving Data from Multiple Groups in a Single Query #12134

Closed
2 of 3 tasks
hanahmily opened this issue Apr 19, 2024 · 0 comments · Fixed by apache/skywalking-banyandb#438
Closed
2 of 3 tasks
Assignees
Labels
database BanyanDB - SkyWalking native database feature New feature

Comments

@hanahmily
Copy link
Contributor

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

In BanyanDB, different versions of a dataset or schema changes are often handled by creating new groups. This approach isolates data but can complicate queries across schema versions. Suppose users need to access data across different groups (such as during a schema migration or when querying historical data alongside current data). In that case, they must perform separate queries for each group and manually merge the results.

BanyanDB should support retrieving data from multiple groups in a single query. This feature simplifies client code, reduces latency, and ensures consistency across queried groups. The syntax could be extended to allow specifying multiple group names in a query

message QueryRequest {
  string name = 1
  repeated string groups = 2
...
}

Use case

No response

Related issues

No response

Are you willing to submit a pull request to implement this on your own?

  • Yes I am willing to submit a pull request on my own!

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
database BanyanDB - SkyWalking native database feature New feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant