guvexie opened a new issue #1527:
URL: https://github.com/apache/incubator-iotdb/issues/1527


   Fill填充值的真实场景需求(某时间段内按间隔时间填充):
   
如果我有一个温、湿度仪,在0分0秒的时候存了20度、52%,后续当有变化的时候才存,假如在0分12秒的时候存了21度、51%,在0分17秒的时候存了22度、52%
 
.....,假如过了1分钟后,用户想获取到这1分钟内任意时间点的湿湿度数据(类似那种绘图式的温湿度仪),若要按每5秒一个点输出这1分钟内的数据(共应该输出13个点的数据),中间填充则不是按具体时间点。而应该按时间段来做条件。
   例如:select * from root.wsd where timestamp>0 and timestamp<60 
fill(float[previous, 5m])
   Msg: 303: Check metadata error: Only "=" can be used in fill function 
目前这样的方法是报错的。
   目前只能是 select * from root.wsd where timestamp=5 fill(float[previous, 5m]).
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to