Can't parse .CSV received via GUI

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

Hi @IvanTopic,

Could you please create an issue in GitHub - influxdata/influxdb-client-csharp: InfluxDB 2.x C# Client.

I will take a look.

Regards

Hi @bednar,

you can find the issue here:

@IvanTopic thanks we will take a look