Skip to content
Snippets Groups Projects
Commit 3955cb95 authored by Lars Janssen's avatar Lars Janssen
Browse files

added TODO

parent f334268f
No related branches found
No related tags found
No related merge requests found
...@@ -106,7 +106,7 @@ func main() { ...@@ -106,7 +106,7 @@ func main() {
"CREATE DATABASE " + avgDB, "CREATE DATABASE " + avgDB,
"CREATE RETENTION POLICY one_day ON " + normalDB + "CREATE RETENTION POLICY one_day ON " + normalDB +
" DURATION 24h REPLICATION 1 DEFAULT", " DURATION 24h REPLICATION 1 DEFAULT",
"CREATE CONTINUOUS QUERY ON " + normalDB + "CREATE CONTINUOUS QUERY ON " + normalDB + // TODO avoid probable error if rp and qc are already excising
"BEGIN SELECT mean(*) INTO " + avgDB + "BEGIN SELECT mean(*) INTO " + avgDB +
".one_day.:MEASUREMENT FROM /.*/ GROUP BY time(12h) END", ".one_day.:MEASUREMENT FROM /.*/ GROUP BY time(12h) END",
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment