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
Proposal:
It may be me failing to find the documentation, but it'd be great to be able to specify a write precision other than nanoseconds when the data is in dataframe format.
Current behavior:
The dataframe serialize function creates timestamps in nanoseconds from the datetime index. If write_precision is different to 'ns', the action fails with time outside range.
Desired behavior:
The dataframe serialize function should use write_precision to format timestamp accordingly.
Alternatives considered:
My workaround at this time is to call data_frame_to_list_of_points to generate a list in line protocol and then modify each line to shorten the timestamp to the desired precision.
Use case:
Critical for whoever wants to write data from dataframe format and not use unneeded precision.
Influxdb version: 2.0.4
influxdb-client: 1.17.0
The text was updated successfully, but these errors were encountered:
Proposal:
It may be me failing to find the documentation, but it'd be great to be able to specify a write precision other than nanoseconds when the data is in dataframe format.
Current behavior:
The dataframe serialize function creates timestamps in nanoseconds from the datetime index. If write_precision is different to 'ns', the action fails with time outside range.
Desired behavior:
The dataframe serialize function should use write_precision to format timestamp accordingly.
Alternatives considered:
My workaround at this time is to call data_frame_to_list_of_points to generate a list in line protocol and then modify each line to shorten the timestamp to the desired precision.
Use case:
Critical for whoever wants to write data from dataframe format and not use unneeded precision.
Influxdb version: 2.0.4
influxdb-client: 1.17.0
The text was updated successfully, but these errors were encountered: