Skip to content

Commit

Permalink
Influx showstopper, this is as far as I got
Browse files Browse the repository at this point in the history
Alltough Influx allows irregular time series, downsampling does not work
really: if you query a time span it may omit a measurement from
result, if now data point was encountered in this span.
Likewise, if no measurement occured in the earliest grouped by
intervali(s) empty fields will be returned.
There is frustrated discussion in
influxdata/influxdb#6878 and no progress since ~6 years.

Will evaluate QuestDB in a side branch.
  • Loading branch information
schwabix-1311 committed May 20, 2023
1 parent f830489 commit babc882
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions aquaPi/machineroom/misc_nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,6 @@ def get_history(self, start, step):
return self.db.query(self._inputs.sender, start, step)

def get_history(self, start, step):
h = influx_query('aquaPi',
'select time, %s from %s where time > %d'
% (','.join(self._inputs.sender), self.id, start))
hist = []
return hist

Expand Down

0 comments on commit babc882

Please sign in to comment.