iotdb icon indicating copy to clipboard operation
iotdb copied to clipboard

iotdb时间戳精度支持微秒、纳秒,但是udf最小时间单位只有毫秒

Open AlanRemTT opened this issue 3 years ago • 2 comments

以udf中的re_sample为例,当iotdb时间戳精度设置为us时, re_sample()中参数‘every’设置为100ms时,实际重采样频率为100微秒,有单位错位问题,请教下这个问题如何解决?

AlanRemTT avatar Jul 28 '22 02:07 AlanRemTT

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

github-actions[bot] avatar Jul 28 '22 03:07 github-actions[bot]

well,

  1. welcome to implementing a new udf that supports different time unit, as UDF is easy to extend. Then we can merge it into our codebase.
  2. Or, the author of this UDF function @trin1t may fix the issue.

jixuan1989 avatar Aug 01 '22 14:08 jixuan1989