Created
March 12, 2014 16:39
-
-
Save arodrime/9510920 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DROP TABLE stats_teads; | |
CREATE TABLE stats_teads ( | |
dim text, | |
dimId text, | |
level text, | |
event text, | |
date text, | |
value int, | |
PRIMARY KEY ((dim, dimId, level, event), date) | |
) WITH | |
caching='KEYS_ONLY' AND | |
comment='' AND | |
dclocal_read_repair_chance=0.100000 AND | |
read_repair_chance=0.000000 AND | |
compaction={'class': 'LeveledCompactionStrategy'} AND | |
compression={'sstable_compression': ''}; |
CREATE TABLE stats_teads (
dim text,
dimId text,
level text,
event text,
month text,
date text,
value int,
PRIMARY KEY ((dim, dimId, level, event, month), date)
)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CREATE TABLE stats_teads (
date text,
level text,
dim text,
dimId text,
event text,
value int,
PRIMARY KEY ((date,level), dim, dimId, event)
)