Skip to content

4.x: Implement PartitionerMap #502

Open
@dkropachev

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions