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 was archived by the owner on Oct 29, 2024. It is now read-only.
Floating point calculation cause difference record when updating with string format of time.
"2018-12-19T05:33:59.999Z" is the raw time of string format
"2018-12-19T05:33:59.999000064Z" is the new time record when updating with the above time, but insert a new record
That happened becouse of the floating point calculation in line_protocal.py
def _convert_timestamp(timestamp, precision=None):
if isinstance(timestamp, Integral):
return timestamp # assume precision is correct if timestamp is int
if isinstance(_get_unicode(timestamp), text_type):
timestamp = parse(timestamp)
if isinstance(timestamp, datetime):
if not timestamp.tzinfo:
timestamp = UTC.localize(timestamp)
Floating point calculation cause difference record when updating with string format of time.
"2018-12-19T05:33:59.999Z" is the raw time of string format
"2018-12-19T05:33:59.999000064Z" is the new time record when updating with the above time, but insert a new record
That happened becouse of the floating point calculation in line_protocal.py
The text was updated successfully, but these errors were encountered: