apache / apache/iotdb

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

Open
#6,815 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.4k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
115

Description

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

Contributor guide

Open the contributing guide

Research direction

Start with the UDF re_sample entry point and trace how the every parameter is interpreted when IoTDB timestamps use microsecond or nanosecond precision. Reproduce the reported case with every=100ms and microsecond timestamps, then establish the expected resampling interval and verify that the implementation uses the correct unit.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.