Skip to content

Commit

Permalink
TDL-24642 document encoding format option (#987)
Browse files Browse the repository at this point in the history
* document encoding format option

* Update sftp-v1.md

* Update file-requirements.yml

* retrigger checks

---------

Co-authored-by: Lucie Milan <[email protected]>
Co-authored-by: Guillaume Dalençon <[email protected]>
  • Loading branch information
3 people authored Oct 29, 2024
1 parent 16ef710 commit 47a0896
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
5 changes: 3 additions & 2 deletions _data/taps/extraction/file-systems/file-requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ attributes:
all: *delimiters

- name: "Character encoding"
all: *encodings

amazon-s3-csv: *encodings
sftp: |
The default encoding is UTF-8, but it can be changed to any encoding format supported by Python 3.9. For more information, see the [Python documentation](https://docs.python.org/3.9/library/codecs.html#standard-encodings).
# ------------------------------- #
# SUPPORT TABLE #
Expand Down
9 changes: 8 additions & 1 deletion _database-integrations/sftp/v1/sftp-v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,13 @@ setup-steps:
anchor: "add-stitch-data-source"
content: |
{% include shared/database-connection-settings.html type="general" %}
- title: "Select an encoding format"
anchor: "select-encoding-format"
content: |
The default encoding format is `utf-8`, but you can update it by entering the name of the format in the **Encoding Format** field.
**Note**: The selected format will be used for all files selected. If a file is encoded in a different format, an error may occur. If you need to replicate data from files with different encoding formats, you should consider creating a different connection for each format.
- title: "Configure tables"
anchor: "configure-tables"
Expand All @@ -142,7 +149,7 @@ setup-steps:
In the following sections, we'll walk you through how to configure a table in Stitch:
{% for substep in step.substeps %}
- [Step 3.{{ forloop.index }}: {{ substep.title }}](#{{ substep.anchor }})
- [Step 5.{{ forloop.index }}: {{ substep.title }}](#{{ substep.anchor }})
{% endfor %}
substeps:
Expand Down

0 comments on commit 47a0896

Please sign in to comment.