Skip to content

4.x: Implement PartitionerMap #502

Description

@dkropachev

Since in scylla CDC tables should get cdc partitioner instead default one, we need something that would hold that partitioner information and provide it upon request.
Currently it is done in inderect way at

Partitioner partitioner = PartitionerFactory.partitioner(variableDefinitions, context);

Which creates unnecessary confusion, to get rid of which we need an instance with following API available at metadata level:

public interface PartitionerMap {
  public Partitioner DefaultPartitioner();
  
  public Partitioner GetTablePartitioner(CqlIdentifier ks, CqlIdentifier table);
}

When it is done we need to get rid of prepared statement partitioner hack.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions