Skip to content

Commit 47a0896

Browse files
lmilanLucie Milangdalencon
authored
TDL-24642 document encoding format option (#987)
* 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]>
1 parent 16ef710 commit 47a0896

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

_data/taps/extraction/file-systems/file-requirements.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,9 @@ attributes:
5959
all: *delimiters
6060

6161
- name: "Character encoding"
62-
all: *encodings
63-
62+
amazon-s3-csv: *encodings
63+
sftp: |
64+
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).
6465
6566
# ------------------------------- #
6667
# SUPPORT TABLE #

_database-integrations/sftp/v1/sftp-v1.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,13 @@ setup-steps:
133133
anchor: "add-stitch-data-source"
134134
content: |
135135
{% include shared/database-connection-settings.html type="general" %}
136+
137+
- title: "Select an encoding format"
138+
anchor: "select-encoding-format"
139+
content: |
140+
The default encoding format is `utf-8`, but you can update it by entering the name of the format in the **Encoding Format** field.
141+
142+
**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.
136143
137144
- title: "Configure tables"
138145
anchor: "configure-tables"
@@ -142,7 +149,7 @@ setup-steps:
142149
In the following sections, we'll walk you through how to configure a table in Stitch:
143150
144151
{% for substep in step.substeps %}
145-
- [Step 3.{{ forloop.index }}: {{ substep.title }}](#{{ substep.anchor }})
152+
- [Step 5.{{ forloop.index }}: {{ substep.title }}](#{{ substep.anchor }})
146153
{% endfor %}
147154
148155
substeps:

0 commit comments

Comments
 (0)