Steps to reproduce:
List the minimal actions needed to reproduce the behavior.
tz = datetime.timezone(datetime.timedelta(hours=7))
p = {
"_start": datetime.datetime(2022, 5, 28).astimezone(tz),
"_end": datetime.datetime(2022, 5, 29).astimezone(tz),
}
dfs = query_api.query_data_frame('''
from(bucket:"db-5")
|> range(start: _start, stop: _end)
|> filter(fn: (r) => r["_measurement"] == "mqtt")
''', params=p)
dfs = {df['mqtt_topic'][0]:df for df in dfs}
- influx cloud database set up with some data
- run query_api.query_data_frame()
Expected behavior:
Describe what you expected to happen.
Always return all 40 dataframes.
Actual behavior:
Describe What actually happened.
Below are 4 consecutive run.
Return 34-40 [34, 36, 37, 40] dataframes randomly.
Further inspection shown that db return different size of byte → different content too.
Link to the Github isuue
Link to Stackoverflow with similar case