HomeSoftware Heritage

cassandra: Deduplicate table names

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

cassandra: Deduplicate table names

This removes all table names from cassandra/cql.py, and gets them from
cassandra/schema.py instead.

When possible, this uses existing constants (BaseRow.TABLE), otherwise
it uses a function to compute these names.

This is needed to support schema migrations, as updating a table's
primary key requires creating a new table with a different name.

Details

Provenance
vlorentzAuthored on Apr 22 2021, 12:21 PM
vlorentzPushed on Apr 22 2021, 5:22 PM
Differential Revision
D5574: cassandra: Deduplicate table names
Build Status
Buildable 20937
Build 32492: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.