We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abe7cbc commit d3e7be4Copy full SHA for d3e7be4
ingestion/src/util/tsupdate.rs
@@ -37,11 +37,13 @@ const TWISTED_TIMESERIES_QUERY: &str = "\
37
WHERE met.param_id IS NOT NULL \
38
AND timeseries.totime < timeseries.fromtime";
39
40
+// Deactivated is information for the database
41
+// for a timeseries it is enough that the fromtime is closed
42
const UPDATE_QUERY: &str = "\
43
UPDATE public.timeseries SET \
44
totime = $1, \
45
fromtime = $2, \
- deactivated = true \
46
+ deactivated = false \
47
WHERE id = $3";
48
49
pub struct DeactivatedTimeseries {
0 commit comments