Created
June 5, 2017 16:41
-
-
Save mayhem/7e2e74951739b0656bf30a7cb01a0f5f 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
> show measurements; | |
name: measurements | |
name | |
---- | |
"rob" | |
one_week.listen_count | |
> show retention policies; | |
name duration shardGroupDuration replicaN default | |
---- -------- ------------------ -------- ------- | |
autogen 0s 168h0m0s 1 true | |
one_week 1h0m0s 1h0m0s 1 false | |
> select count(*) from "\"rob\""; | |
name: "rob" | |
time count_artist_msid count_artist_name count_recording_mbid count_recording_msid count_track_name | |
---- ----------------- ----------------- -------------------- -------------------- ---------------- | |
0 4199 4199 2386 4199 4199 | |
> select * from one_week.listen_count; | |
> select * from "\"one_week.listen_count\""; | |
> select * from "one_week"."listen_count"; | |
> select * from "\"one_week\""."\"listen_count\""; | |
ERR: retention policy not found: "one_week" | |
> select * from one_week."\"listen_count\""; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment