We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
需求 一天内 一万条数据, 整合成一小时一条, 使用平均的方法, 或者每个小时的最后一条作为依据。 Task<List> LoadTelemetryAsync(Guid deviceId, string keys, DateTime begin, DateTime end, TimeSpan every, Aggregate aggregate);
注意 keys 为空则表示全部, every 如果是 TimeSpan.Zero表示不适用。aggregate 也不会使用。
The text was updated successfully, but these errors were encountered:
InfluxDB 中的语法。
from(bucket: "iotsharp") |> range(start: v.timeRangeStart, stop: v.timeRangeStop) |> filter(fn: (r) => r["_measurement"] == "TelemetryData") |> filter(fn: (r) => r["DeviceId"] == "52958d0c-c462-4644-b91f-a0c4587f898e") |> filter(fn: (r) => r["_field"] == "humidity") |> aggregateWindow(every: 15m, fn: mean, createEmpty: false) |> yield(name: "mean")
Sorry, something went wrong.
数据断面聚合 #658
b0cfd91
下图中, 是每小时 一条是数据。
IoTDB 已经实现。 #726
修复跟 InfluxDB有关的bug #770
TimescaleDB实现了么
TimescaleDB 没实现呢。
maikebing
No branches or pull requests
需求
一天内 一万条数据, 整合成一小时一条, 使用平均的方法, 或者每个小时的最后一条作为依据。
Task<List> LoadTelemetryAsync(Guid deviceId, string keys, DateTime begin, DateTime end, TimeSpan every, Aggregate aggregate);
注意
keys 为空则表示全部,
every 如果是 TimeSpan.Zero表示不适用。aggregate 也不会使用。
The text was updated successfully, but these errors were encountered: