Open affo opened 5 years ago
I discovered that InfluxDB cannot store timestamps as values. Those test must remain skipped.
We can take actions to ensure coverage in InfluxDB, but we should make those changes in Flux.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This seems still relevant: https://github.com/influxdata/influxdb/blob/master/query/stdlib/testing/testing.go#L89
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
When applying a conversion from time to int or uint in e2e tests we get the following error:
The table that causes the error is this one:
The error happens here https://github.com/influxdata/flux/blob/52bf9ec1b0e1b0be208f111b10d2d4638ea8d23c/stdlib/universe/typeconv.go#L183 (for ints).
It seems that the value gets erroneously interpreted as a string instead of a timestamp.
The problem doesn't happen in Flux, so I suspect that this has something to do with the fact that, in InfluxDB, we store data using a
to
transformation before querying. Maybeto
has some problems in storing_value
as adateTime:RFC3339
.