Skip to content

docs: note that CSV ESCAPE only takes effect on write with DOUBLE_QUOTE false - #27735

Open
raghavyadav01 wants to merge 1 commit into
apache:mainfrom
raghavyadav01:docs/26514-csv-escape-write
Open

raghavyadav01 wants to merge 1 commit into
apache:mainfrom
raghavyadav01:docs/26514-csv-escape-write

Conversation

@raghavyadav01

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

ESCAPE is honored when reading CSV but mostly not when writing. arrow-csv applies it only when double_quote is false, and even then the writer does not escape the escape character itself (BurntSushi/rust-csv#443), so a file written with ESCAPE may not read back with the same options. Erroring on write would break COPY statements that work today, so until rust-csv#443 is fixed this documents the behavior, as discussed on the issue.

What changes are included in this PR?

One row of the CSV format options table in format_options.md.

Are these changes tested?

Docs only. prettier@3.10.1 --check passes on the file.

Are there any user-facing changes?

Documentation only.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant