influxdata / influxdata/flux

puzzled time with aggregateWindow() function

Open
#5,485 31 comments 0 reactions 0 assignees View on GitHub
Dominant language
FLUX
Stars
794
Forks
153
Avg merge
2d 4h
Merged PRs (30d)
4

Description

Raw data are inserted every 30s. so when the interval param, every, is set in minutes, every interval should have value, the time of which .But that's not.

- When every is setted to "7m", data is retrieved from 00:03:59, which should be "00:08:59"

- When every is setted to "8m", data is retrieved from 00:07:59

Contributor guide

Open the contributing guide

Research direction

Start by reproducing aggregateWindow() with data inserted every 30 seconds and interval values of 7m and 8m. Compare the returned timestamps with the issue's expected boundaries, then trace the aggregateWindow() implementation to identify the alignment behavior. Done means the intervals return the expected timestamps and regression coverage verifies both cases.

Written by the indexing model from the issue text.

Assessment

Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.