About Time precision on influxdb v2.0rc

The influx write part is OK, ns precision is always expected when you have CSV data with timestamps on input. The query that is run by web UI by default aggregates the results in time windows. Click the Script Editor button in the UI to take a look of what is exactly being executed. It is probably this:

from(bucket: "my-bucket")
  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)
  |> filter(fn: (r) => r["_measurement"] == "test")
  |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)
  |> yield(name: "mean")

Remove the aggregation part to see the measurement points that you have written

from(bucket: "my-bucket")
  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)
  |> filter(fn: (r) => r["_measurement"] == "test")
1 Like