FiloDB icon indicating copy to clipboard operation
FiloDB copied to clipboard

feat(query): arbitrary target-schema columns

Open alextheimer opened this issue 8 months ago • 0 comments

Pull Request checklist

  • [x] The commit(s) message(s) follows the contribution guidelines ?
  • [x] 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.

alextheimer avatar Jun 14 '24 19:06 alextheimer