hasura / hasura/graphql-engine

Export Data CSV adds apostrophes and quotes to the exported values

Open
#6,839 0 comments 0 reactions 0 assignees View on GitHub
c/console
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

While using the Export Data CSV, the output file will contain both apostrophes and quotes surrounding values, e.g.
```
column_a,column_b
"'value1'","'value2'"
```
This causes unexpected results while importing the CSV file in spreadsheet software, for example.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Export Data CSV behavior with values like those in the report, then compare the generated file with the expected CSV representation and spreadsheet import results. Done means exported values no longer contain unexpected apostrophes or quotes while the CSV remains valid.

Written by the indexing model from the issue text.

Assessment

Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.