Skip to content

Commit 3409386

Browse files
committed
docs: update CSV line terminator syntax for environment variables
1 parent 6c8ea37 commit 3409386

File tree

1 file changed

+3
-1
lines changed
  • docs/website/docs/dlt-ecosystem/file-formats

1 file changed

+3
-1
lines changed

docs/website/docs/dlt-ecosystem/file-formats/csv.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,11 @@ Or using environment variables:
8282
NORMALIZE__DATA_WRITER__DELIMITER=|
8383
NORMALIZE__DATA_WRITER__INCLUDE_HEADER=False
8484
NORMALIZE__DATA_WRITER__QUOTING=quote_all
85-
NORMALIZE__DATA_WRITER__LINETERMINATOR="\r\n"
85+
NORMALIZE__DATA_WRITER__LINETERMINATOR=$"\r\n"
8686
```
8787

88+
Note the `"$"` prefix before `"\r\n"` to escape the newline character when using environment variables.
89+
8890
### Destination settings
8991
A few additional settings are available when copying `csv` to destination tables:
9092
* **on_error_continue** - skip lines with errors (only Snowflake)

0 commit comments

Comments
 (0)