Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't parse .CSV received via GUI #134

Closed
IvanTopic opened this issue Nov 19, 2020 · 1 comment · Fixed by #136
Closed

Can't parse .CSV received via GUI #134

IvanTopic opened this issue Nov 19, 2020 · 1 comment · Fixed by #136
Assignees
Labels
bug Something isn't working
Milestone

Comments

@IvanTopic
Copy link

Hi,

I’m using your C# InfluxDb.Client library (v.1.12) to export and parse a .CSV file using your FluxCsvParser that generates FluxRecords. I've noticed that it is not possible to parse .CSVs that are exported using the InfluxDB v2 GUI.

There is a difference in the .CSV headers that I believe is causing the issue.
This is the GUI CSV:

#group,false,false,true,true,true,true,true,true,false,false
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,string,string,string,string,double,dateTime:RFC3339
#default,mean,,,,,,,,,
,result,table,_start,_stop,_field,_measurement,city,location,_value,_time
,,0,1754-06-26T11:30:27.613654848Z,2040-10-27T12:13:46.485Z,temperatureC,weather,London,us-midwest,30,1975-09-01T16:59:54.5Z
,,1,1754-06-26T11:30:27.613654848Z,2040-10-27T12:13:46.485Z,temperatureF,weather,London,us-midwest,86,1975-09-01T16:59:54.5Z

This is the library CSV:

#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,string,string,string,string,double,dateTime:RFC3339
#group,false,false,true,true,true,true,true,true,false,false
#default,mean,,,,,,,,,
,result,table,_start,_stop,_field,_measurement,city,location,_value,_time
,,0,1754-06-26T11:30:27.613654848Z,2040-10-27T12:13:46.485Z,temperatureC,weather,London,us-midwest,30,1975-09-01T16:59:54.5Z
,,1,1754-06-26T11:30:27.613654848Z,2040-10-27T12:13:46.485Z,temperatureF,weather,London,us-midwest,86,1975-09-01T16:59:54.5Z
@bednar bednar added the bug Something isn't working label Nov 19, 2020
@bednar bednar self-assigned this Nov 19, 2020
@bednar
Copy link
Contributor

bednar commented Nov 19, 2020

@IvanTopic thanks we will take a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants