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

feat(query): arbitrary target-schema columns #1801

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

alextheimer
Copy link
Contributor

@alextheimer alextheimer commented Jun 14, 2024

Pull Request checklist

  • The commit(s) message(s) follows the contribution guidelines ?
  • Tests for the changes have been added (for bug fixes / features) ?
  • Docs have been added / updated (for bug fixes / features) ?

Currently, target-schema "filter" labels (i.e. those used to identify whether-or-not a target-schema is configured against a series) can include only shard-key columns. This PR adds support for arbitrary target-schema filter labels.

For example, a dataset with shard-key columns SA and SB can now have a target-schema defined against an arbitrary column C:

{SA=foo, C=bar}      // filter labels
-> [label1, label2]  // sharding labels

See here for an example spec.

Target-schemas can now be defined against any labels (including non-shard-keys).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant