查询多个时间序列使用[按小时对齐]+ [last_value]+[where]时,希望可以使用一条sql做到分别查询多条时间序列后聚合在一起显示 #4147
xiaoyekanren
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
查询多个时间序列使用[按小时对齐]+ [last_value]+[where]时,希望可以使用一条sql做到分别查询多条时间序列后聚合在一起显示。
我在IoTDB中存储了如下图的数据:

当我按照小时对齐,查询last_values时,结果如下:

在此基础上,增加where条件,where B工况>7,结果如下:

而我们希望在 where条件时的 结果如下:

Beta Was this translation helpful? Give feedback.
All reactions