You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.
Write in your influxdb at least 2 datapoint:
time value
'2022-07-28 08:59:59.818000' any
'2022-07-28 09:00:00.000000' any
and perform the following quary using thos exat timestamp:
bind_params = {
'timeFrom_': timeFrom_.strftime("%Y-%m-%d %H:%M:%S.%f"),
'timeTo': timeTo.strftime("%Y-%m-%d %H:%M:%S.%f")
}
df = pd.DataFrame(client.query(f"SELECT * from {retention_policy}.{meas_name} WHERE time > $timeFrom_ and time <= $timeTo limit 86400;", bind_params=bind_params).get_points())
The query return a Dataframe of one row with timestamp 2022-07-28 08:59:59.818000
The expected behavior is to get an empty dataframe since the query uses > timeForm and not >= timeFrom
The text was updated successfully, but these errors were encountered:
Buckler89
changed the title
query with time > xxx behaves in the same way as time >= xxx
Query with time > xxx behaves in the same way as time >= xxx
Jul 29, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Write in your influxdb at least 2 datapoint:
time value
'2022-07-28 08:59:59.818000' any
'2022-07-28 09:00:00.000000' any
and perform the following quary using thos exat timestamp:
The query return a Dataframe of one row with timestamp 2022-07-28 08:59:59.818000
The expected behavior is to get an empty dataframe since the query uses > timeForm and not >= timeFrom
The text was updated successfully, but these errors were encountered: