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
The write with InfluxDBClientAsync to work the same as InfluxDBClient does with Point defined write precision.
Actual behavior
The InfluxDBClientAsync does not respect the Point write precision, instead defaults to and uses DEFAULT_WRITE_PRECISION.
Additional info
If the write precision is explicitly stated in the write_api.write call, it is handled correctly. Also the docs for the function states that Point data takes precedence which does not happen.
Looking into the calls, I noticed that even though the docstring says that, the self._serialize call in the WriteApiAsync.write has the precision_from_point arguments is set explicitly false. The self._serialize call does the extraction right, but the body is built incorrectly because it only uses the write_precision of the function.
The text was updated successfully, but these errors were encountered:
Specifications
Code sample to reproduce problem
Expected behavior
The write with
InfluxDBClientAsync
to work the same asInfluxDBClient
does with Point defined write precision.Actual behavior
The
InfluxDBClientAsync
does not respect the Point write precision, instead defaults to and usesDEFAULT_WRITE_PRECISION
.Additional info
If the write precision is explicitly stated in the
write_api.write
call, it is handled correctly. Also the docs for the function states that Point data takes precedence which does not happen.Looking into the calls, I noticed that even though the docstring says that, the
self._serialize
call in theWriteApiAsync.write
has theprecision_from_point
arguments is set explicitly false. Theself._serialize
call does the extraction right, but thebody
is built incorrectly because it only uses thewrite_precision
of the function.The text was updated successfully, but these errors were encountered: