Skip to content
This repository has been archived by the owner on Mar 7, 2018. It is now read-only.

Commit

Permalink
Merge pull request #113 from CatalystCode/fix-tiles-schema
Browse files Browse the repository at this point in the history
Reorder key to enable tile/period range queries
  • Loading branch information
c-w committed Aug 16, 2017
2 parents 5025e3a + e3b810a commit eed00c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ops/storage-ddls/cassandra-setup.cql
Expand Up @@ -171,7 +171,7 @@ CREATE TABLE computedtiles (
conjunctiontopic1 text,
conjunctiontopic2 text,
conjunctiontopic3 text,
PRIMARY KEY ((periodtype, conjunctiontopic1, conjunctiontopic2, conjunctiontopic3, tilez, period), tilex, tiley, periodstartdate, periodenddate, pipelinekey, externalsourceid)
PRIMARY KEY ((periodtype, conjunctiontopic1, conjunctiontopic2, conjunctiontopic3, tilez, period), pipelinekey, externalsourceid, tilex, tiley, periodstartdate, periodenddate)
);

CREATE TABLE popularplaces (
Expand Down

0 comments on commit eed00c5

Please sign in to comment.