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

Fields containing comma character should be escaped in the file produced by "Download CSV" #5170

Closed
ivankudibal opened this issue May 1, 2019 · 0 comments · Fixed by #5220
Assignees
Milestone

Comments

@ivankudibal
Copy link
Contributor

ivankudibal commented May 1, 2019

Fields containing comma character should be escaped in the file produced by "Download CSV"

1.7.9

Steps to reproduce:
1/ create field in measurement, insert data containing "," in the field
2/ open chronograf, create cell to display tabular data
3/ Use Download CSV and Import the file into Excel (or Libreoffice Calc)

Result:
The tool will parse the line with the field as separator and reads field value as two values. This will break structure of the CSV.

Desired status:
The file exported from Chronograf should correctly escape the comma character (according to CSV specs) that is part of field value.


See the "SVX,KZN" this is value of the field "Kam":

image (1)

Same data in Excel, SVX, KZN have been parsed as two fields:

image (2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants