Please and Thank you
We're in the process of deploying a new endpoint to AQS 1.0 (because 2.0 is not up and running yet). This is @nickifeajika's internship project. One of the pieces is a Cassandra table. After some trial, we believe this schema will appease AQS and the queries we need to run against it:
CREATE KEYSPACE "local_group_default_T_knowledge_gap_by_category"; CREATE TABLE "local_group_default_T_knowledge_gap_by_category".meta ( key text, tid timeuuid, "_del" timeuuid, value text, PRIMARY KEY (key, tid) ) WITH CLUSTERING ORDER BY (tid ASC); CREATE TABLE "local_group_default_T_knowledge_gap_by_category".data ( "_domain" text, project text, category text, content_gap text, dt text, "_tid" timeuuid, metric text, "_del" timeuuid, value double, PRIMARY KEY (("_domain", project, category, content_gap), dt, "_tid", metric) ) WITH CLUSTERING ORDER BY (dt ASC, "_tid" DESC, metric ASC);
Our only query against this right now would basically be a select filtering on exact values of _domain, project, category, content_gap, and a range of dt.
Acceptance criteria:
- Schema created on production cluster
- Capacity projections documented