Skip to content

Instantly share code, notes, and snippets.

@jsanda
Last active August 29, 2015 14:24
Show Gist options
  • Save jsanda/ae56ba25296821d636be to your computer and use it in GitHub Desktop.
Save jsanda/ae56ba25296821d636be to your computer and use it in GitHub Desktop.
CREATE TABLE metrics_idx (
tenant_id text,
shard int
type int,
metric text,
tags map<text, text>,
data_retention int,
PRIMARY KEY ((tenant_id, shard), type, metric)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment