influxdb
influxdb copied to clipboard
Incorrect Error Message when adding explicit Measurement schema in the web GUI
- Open the Bucket management page https://europe-west1-1.gcp.cloud2.influxdata.com/orgs/d804f8be49384142/load-data/buckets
- Create Bucket -> Advanced Configuration -> Explicit -> Add measurement schema (enter names where necessary)
- try to add any of the below csv files (they use the from-my-mind-reasonably-conceivable(TM) variations of "name, type, dataType" to describe a simple schema) data_type dataType dataType + spaces
- -> Error message 'csv headers are not correct; they need to be : "name, type, dataType"'
This error does not seem to be correct. Either the issue with the files is a different one, or a non-standard way to define headers in a csv file is used
Speaking of inconsistencies: This documentation uses data_type as used in one of the sample csv files which is different from the Error message. This might therefore be wrong.
A working file that gives the expected results (using json format found here) is
[
{ "name": "time", "type": "timestamp"},
{ "name": "device", "type": "tag"},
{ "name": "class", "type": "field", "dataType": "string"},
{ "name": "value", "type": "field", "dataType": "string"}
]