iotdb icon indicating copy to clipboard operation
iotdb copied to clipboard

IoTDB(0.12.5),计算某时间段数据的平均值,昨天计算结果和今天的计算结果不一样

Open TangDynasty06 opened this issue 3 years ago • 1 comments

我在IoTDB(0.12.5)中创建了一个时序序列,dataType:DOUBLE,encoding:PLAIN,compression:SNAPPY 里面存储的数据是每秒一个值,数据小数点后位数较长,类似这种数据,21.11077143919472、13.338655912277863 使用如下类似语句计算小时内的平均值: select AVG(e) from root.a.b.$c$d where time>=1669042800000 and time<1669046400000 group by([1669042800000,1669046400000), 1h)

昨天和今天都分别执行该语句,两天计算出的结果,有些许的偏差 昨天结算结果是:49.64659657087113 今天的计算结果是:49.64659657087112

请问这是怎么回事

TangDynasty06 avatar Nov 22 '22 03:11 TangDynasty06

Hi, this is your first issue in IoTDB project. Thanks for your report. Welcome to join the community!

github-actions[bot] avatar Nov 22 '22 03:11 github-actions[bot]