Skip to main content

CSV

This page describes the CSV-specific properties that appear in the Properties tab of Source and Target gems. These settings are the same for CSV files regardless of which connection type is configured in the gem (for example, S3, SFTP, or SharePoint).

If you need details on configuring a Source or Target gem end to end (including all tabs such as Location), see the documentation for the specific file storage connection:

info

You can also use the upload file feature to use CSV files. These will be stored in the SQL warehouse configured in your fabric.

Properties

Source properties

The following properties are available for the CSV Source gem.

PropertyDescriptionDefault
DescriptionDescription of the table.None
SeparatorCharacter used to separate values in the CSV file.,
HeaderWhether the first row is the column header.True
Null ValueString that represents a null or missing value in the CSV.None
Comment CharacterCharacter used to denote lines in the file that should be treated as comments.None
Inference Data Sampling LimitMaximum number of rows to sample for inferring the schema.0
File EncodingCharacter set used to decode the CSV file when reading. See supported encodings.UTF-8

Target properties

The following properties are available for the CSV Target gem.

PropertyDescriptionDefault
DescriptionDescription of the table.None
SeparatorCharacter used to separate values in the CSV file.,
HeaderWhether to make the first row the column header.True
Null ValueString that represents a null or missing value in the CSV.None
Use CRLF as line separatorIf enabled, lines in the CSV will end with \r\n (Windows-style newlines).None
File EncodingCharacter set used to encode the CSV file when writing. See supported encodings.UTF-8

Supported character encodings

Supported character encodings
  • UTF-8
  • UTF-16
  • ISO-8859-1
  • ISO-8859-2
  • ISO-8859-3
  • ISO-8859-4
  • ISO-8859-5
  • ISO-8859-6
  • ISO-8859-7
  • ISO-8859-8
  • ISO-8859-9
  • ISO-8859-10
  • ISO-8859-13
  • ISO-8859-14
  • ISO-8859-15
  • ISO-8859-16
  • Windows-1250
  • Windows-1251
  • Windows-1252
  • Windows-1253
  • Windows-1254
  • Windows-1255
  • Windows-1256
  • Windows-1257
  • Windows-1258
  • Windows-874
  • CodePage437
  • CodePage850
  • CodePage852
  • CodePage855
  • CodePage858
  • CodePage860
  • CodePage862
  • CodePage863
  • CodePage865
  • CodePage866
  • Macintosh
  • MacintoshCyrillic
  • KOI8R
  • KOI8U
  • XUserDefined
  • ASCII