Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If we don't want to introduce an unsafe operation, we might discuss introducing compound composite keys as an alternative.Composite<H

  • CompositeKey<H, P> consists of a head and a postfix, and the partition of a

...

  • composite key is always defined by its 'head' only.
  • Also, k and CompositeKey(k, v) must have the same partition for each k.
  • We will need to introduce selectCompositeKey operation which will not lead to repartition.

CompositeKey usage will be safe both from pov of data locality and IQ, however it is questionable, whether it will be convenient to use it.