influxdata / influx-cli

CLI for managing resources in InfluxDB v2
MIT License
61 stars 23 forks source link

How to create influxdb bucket scheme in csv format #450

Closed kasjay321 closed 1 year ago

kasjay321 commented 1 year ago

airQuality.csv this is my csv file. but i can not upload it. there is a error. tells heading are incorrect. but i follow the instruction of the manual

Relevant URLs
sanderson commented 1 year ago

This appears to be an issue with the product. The headers in your CSV match the expected headers. I have duplicated the issue. I'm transferring this issue to the InfluxDB repo.

jeffreyssmith2nd commented 1 year ago

This appears to be a documentation error, the CSV reader is expecting data_type rather than dataType. Unfortunately, that is inconsistent with the JSON reader but as that would be a breaking change, I would suggest we update the documentation to data_type for CSV.

https://github.com/influxdata/docs-v2/pull/4568

jeffreyssmith2nd commented 1 year ago

Correction, this is not a documentation issue and is a bug in the CLI vs what cloud expects.