Skip to content

S3 Load

The S3 Load component lets users load data into an existing table from objects stored in Amazon Simple Storage Service (Amazon S3).

This component requires working AWS Credentials, with Read access to the bucket containing the source data files.

To access an S3 bucket from a different AWS account, read Background: Cross-account permissions and using IAM roles.

Note

If you're using a Matillion Full SaaS solution, you may need to allow these IP address ranges from which Matillion Full SaaS agents will call out to their source systems or to cloud data platforms.


Properties

Name = string

A human-readable name for the component.


Stage = drop-down

Select a staging area for the data. Staging areas can be created through Snowflake using the CREATE STAGE command. Internal stages can be set up this way to store staged data within Snowflake. Selecting [Custom] will avail the user of properties to specify a custom staging area on S3. Users can add a fully qualified stage by typing the stage name. This should follow the format databaseName.schemaName.stageName


Authentication = drop-down

Select the authentication method. Users can choose either:

  • Credentials: Uses AWS security credentials.
  • Storage Integration: Use a Snowflake storage integration. A storage integration is a Snowflake object that stores a generated identity and access management (IAM) entity for your external cloud storage, along with an optional set of permitted or blocked storage locations (Amazon S3, Google Cloud Storage, or Microsoft Azure Blob Storage). More information can be found at CREATE STORAGE INTEGRATION.

Storage Integration = drop-down

Select the storage integration. Storage integrations are required to permit Snowflake to read data from and write to a cloud storage location. Integrations must be set up in advance of selecting them. Storage integrations can be configured to support Amazon S3, Google Cloud Storage, or Microsoft Azure Blob Storage, regardless of the cloud provider that hosts your Snowflake account.


S3 Object Prefix = string

The URL of the S3 bucket to load files from. The URL follows the format s3://bucket/path/. Type the URL or select from the list.

The "path" parameter in the URL is the subfolder and should be included. When a user enters a forward slash character / after a folder name, a validation of the file path is triggered.


Pattern = string

A string that will partially match all file paths and names that are to be included in the load. Defaults to .* indicating all files within the S3 Object Prefix. This property is a pattern on the complete path of the file, and is not just relative to the directory configured in the S3 Object Prefix property.

The subfolder containing the object to load must be included here.


Encryption = drop-down

Decide how the files are encrypted inside the S3 bucket. This property is available when using an existing Amazon S3 location for staging.


KMS Key ID = drop-down

The ID of the KMS encryption key you have chosen to use in the Encryption property.


Warehouse = drop-down

The Snowflake warehouse used to run the queries. The special value, [Environment Default], will use the warehouse defined in the environment. Read Overview of Warehouses to learn more.


Database = drop-down

The Snowflake database. The special value, [Environment Default], will use the database defined in the environment. Read Databases, Tables and Views - Overview to learn more.


Schema = drop-down

The Snowflake schema. The special value, [Environment Default], will use the schema defined in the environment. Read Database, Schema, and Share DDL to learn more.


Target Table = string

Select an existing table to load data into. The tables available for selection depend on the chosen schema.


Load Columns = dual listbox

Choose the columns to load. If you leave this parameter empty, all columns will be loaded.


Format = drop-down

Select a pre-made file format that will automatically set many of the S3 Load component properties. These formats can be created through the Create File Format component.

Users can add a fully qualified format by typing the format name. This should read as databaseName.schemaName.formatName


File Type = drop-down

Select the type of data to load. Available data types are: AVRO, CSV, JSON, ORC, PARQUET, and XML. Some file types may require additional formatting—this is explained in the Snowflake documentation.

Component properties will change to reflect the selected file type. Click one of the tabs below for properties applicable to that file type.

Compression = drop-down

Select the compression method if you wish to compress your data. If you do not wish to compress at all, select NONE. The default setting is AUTO.


Null If = editor

Specify one or more strings (one string per row of the table) to convert to NULL values. When one of these strings is encountered in the file, it is replaced with an SQL NULL value for that field in the loaded table. Click + to add a string.


Trim Space = boolean

When True, removes whitespace from fields. Default setting is False.

Compression = drop-down

Select the compression method if you wish to compress your data. If you do not wish to compress at all, select NONE. The default setting is AUTO.


Record Delimiter = string

Input a delimiter for records. This can be one or more single-byte or multibyte characters that separate records in an input file.

Accepted values include: leaving the field empty; a newline character \ or its hex equivalent 0x0a; a carriage return \\r or its hex equivalent 0x0d. Also accepts a value of NONE.

If you set the Skip Header to a value such as 1, then you should use a record delimiter that includes a line feed or carriage return, such as \ or \\r. Otherwise, your entire file will be interpreted as the header row, and no data will be loaded.

The specified delimiter must be a valid UTF-8 character and not a random sequence of bytes.

Do not specify characters used for other file type options such as Escape or Escape Unenclosed Field.

The default (if the field is left blank) is a newline character.


Field Delimiter = string

Input a delimiter for fields. This can be one or more single-byte or multibyte characters that separate fields in an input file.

Accepted characters include common escape sequences, octal values (prefixed by \), or hex values (prefixed by 0x). Also accepts a value of NONE.

This delimiter is limited to a maximum of 20 characters.

While multi-character delimiters are supported, the field delimiter cannot be a substring of the record delimiter, and vice versa. For example, if the field delimiter is "aa", the record delimiter cannot be "aabb".

The specified delimiter must be a valid UTF-8 character and not a random sequence of bytes.

Do not specify characters used for other file type options such as Escape or Escape Unenclosed Field.

The Default setting is a comma: ,.


Skip Header = integer

Specify the number of rows to skip. The default is 0.

If Skip Header is used, the value of the record delimiter will not be used to determine where the header line is. Instead, the specified number of CRLF will be skipped. For example, if the value of Skip Header = 1, skips to the first CRLF that it finds. If you have set the Field Delimiter property to be a single character without a CRLF, then skips to the end of the file (treating the entire file as a header).


Skip Blank Lines = boolean

When True, ignores blank lines that only contain a line feed in a data file and does not try to load them. Default setting is False.


Date Format = string

Define the format of date values in the data files to be loaded. If a value is not specified or is AUTO, the value for the DATE_INPUT_FORMAT session parameter is used. The default setting is AUTO.


Time Format = string

Define the format of time values in the data files to be loaded. If a value is not specified or is AUTO, the value for the TIME_INPUT_FORMAT session parameter is used. The default setting is AUTO.


Timestamp Format = string

Define the format of timestamp values in the data files to be loaded. If a value is not specified or is AUTO, the value for the TIMESTAMP_INPUT_FORMAT session parameter is used.


Escape = string

Specify a single character to be used as the escape character for field values that are enclosed. Default is NONE.


Escape Unenclosed Field = string

Specify a single character to be used as the escape character for unenclosed field values only. Default is \\. If you have set a value in the property Field Optionally Enclosed, all fields will become enclosed, rendering the Escape Unenclosed Field property redundant, in which case, it will be ignored.


Trim Space = boolean

When True, removes whitespace from fields. Default setting is False.


Field Optionally Enclosed = string

Specify a character used to enclose strings. The value can be NONE, single quote character ', or double quote character ". To use the single quote character, use the octal or hex representation 0x27 or the double single-quoted escape ''. Default is NONE.

When a field contains one of these characters, escape the field using the same character. For example, to escape a string like this: 1 "2" 3, use double quotation to escape, like this: 1 ""2"" 3.


Null If = editor

Specify one or more strings (one string per row of the table) to convert to NULL values. When one of these strings is encountered in the file, it is replaced with an SQL NULL value for that field in the loaded table. Click + to add a string.


Error On Column Count Mismatch = boolean

When True, generates an error if the number of delimited columns in an input file does not match the number of columns in the corresponding table. When False (default), an error is not generated and the load continues. If the file is successfully loaded in this case:

  • Where the input file contains records with more fields than columns in the table, the matching fields are loaded in order of occurrence in the file, and the remaining fields are not loaded.
  • Where the input file contains records with fewer fields than columns in the table, the non-matching columns in the table are loaded with NULL values.

Empty Field As Null = boolean

When True, inserts NULL values for empty fields in an input file. This is the default setting.


Replace Invalid Characters = boolean

Snowflake replaces invalid UTF-8 characters with the Unicode replacement character. When False (default), the load operation produces an error when invalid UTF-8 character encoding is detected.


Encoding Type = drop-down

Select the string that specifies the character set of the source data when loading data into a table. Please refer to the Snowflake documentation for more information.

Compression = drop-down

Select the compression method if you wish to compress your data. If you do not wish to compress at all, select NONE. The default setting is AUTO.


Enable Octal = boolean

When True, enables the parsing of octal values. Default setting is False.


Allow Duplicates = boolean

When True, allows duplicate object field names. Default setting is False.


Strip Outer Array = boolean

When True, instructs the JSON parser to remove outer brackets. Default setting is False.


Strip Null Values = boolean

When True, instructs the JSON parser to remove any object fields or array elements containing NULL values. Default setting is False.


Ignore UTF8 Errors = boolean

When True, replaces any invalid UTF-8 sequences with Unicode characters. When False (default), UTF-8 errors will not produce an error in the pipeline run.


Null If = editor

Specify one or more strings (one string per row of the table) to convert to NULL values. When one of these strings is encountered in the file, it is replaced with an SQL NULL value for that field in the loaded table. Click + to add a string.


Trim Space = boolean

When True, removes whitespace from fields. Default setting is False.

Null If = editor

Specify one or more strings (one string per row of the table) to convert to NULL values. When one of these strings is encountered in the file, it is replaced with an SQL NULL value for that field in the loaded table. Click + to add a string.


Trim Space = boolean

When True, removes whitespace from fields. Default setting is False.

Compression = drop-down

Select the compression method if you wish to compress your data. If you do not wish to compress at all, select NONE. The default setting is AUTO.


Null If = editor

Specify one or more strings (one string per row of the table) to convert to NULL values. When one of these strings is encountered in the file, it is replaced with an SQL NULL value for that field in the loaded table. Click + to add a string.


Trim Space = boolean

When True, removes whitespace from fields. Default setting is False.

Compression = drop-down

Select the compression method if you wish to compress your data. If you do not wish to compress at all, select NONE. The default setting is AUTO.


Ignore UTF8 Errors = boolean

When True, replaces any invalid UTF-8 sequences with Unicode characters. When False (default), UTF-8 errors will not produce an error in the pipeline run.


Preserve Space = boolean

When True, the XML parser preserves leading and trailing spaces in element content. Default setting is False.


Strip Outer Element = boolean

When True, the XML parser strips out any outer XML elements, exposing second-level elements as separate documents. Default setting is False.


Disable Snowflake Data = boolean

When True, the XML parser will not recognise Snowflake semi-structured data tags. Default setting is False.


Disable Auto Convert = boolean

When True, the XML parser will disable automatic conversion of numeric and Boolean values from text to native representations. Default setting is False.


On Error = drop-down

Decide how to proceed upon an error.

  • Abort Statement: Aborts the load if any error is encountered. This is the default setting.
  • Continue: Continue loading the file.
  • Skip File: Skip file if any errors are encountered in the file.
  • Skip File When n Errors: Skip file when the number of errors in the file is equal to or greater than the specified number in the next property, n.
  • Skip File When n% Errors: Skip file when the percentage of errors in the file exceeds the specified percentage of n.

n = integer

Specify the number of errors or the percentage of errors required to skip the file. This parameter only accepts integer characters. % is not accepted. Specify percentages as a number only.


Size Limit (B) = integer

Specify the maximum size, in bytes, of data to be loaded for a given COPY statement. If the maximum is exceeded, the COPY operation discontinues loading files. For more information, please refer to the Snowflake documentation.


Purge Files = boolean

When True, purges data files after the data is successfully loaded. Default setting is False.


Match By Column Name = drop-down

Specify whether to load semi-structured data into columns in the target table that match corresponding columns represented in the data.

  • Case Insensitive: Load semi-structured data into columns in the target table that match corresponding columns represented in the data. Column names should be case-insensitive.
  • Case Sensitive: Load semi-structured data into columns in the target table that match corresponding columns represented in the data. Column names should be case-sensitive.
  • None: The COPY operation loads the semi-structured data into a variant column or, if a query is included in the COPY statement, transforms the data.

Truncate Columns = boolean

When True, strings are automatically truncated to the target column length. When False (default), the COPY statement produces an error if a loaded string exceeds the target column length.


Force Load = boolean

When True, loads all files, regardless of whether they have been loaded previously and haven't changed since they were loaded. Default setting is False.

When set to True, this option reloads files and can lead to duplicated data in a table.


Metadata Fields = dual listbox

Snowflake metadata columns available to include in the load. For more information, read Querying Metadata for Staged Files. This property is only available when an external stage is selected.

Name = string

A human-readable name for the component.


Location = string

The URL of the S3 bucket and specific sub-folder that contains the files to load. The URL must follow the format S3://bucket/folder-path/. Type the path to the file location (everything after the S3:// in the URL, which will be added automatically), or select from the list of S3 buckets and folders.


Pattern = string

Files in the specified Location will only be loaded if their names match the pattern you specify here. You can use wildcards in the pattern. Enter .* to match all files in the location. This property is mandatory.


Catalog = drop-down

Select a Databricks Unity Catalog. The special value, [Environment Default], will use the catalog specified in the Data Productivity Cloud environment setup. Selecting a catalog will determine which databases are available in the next parameter.


Schema (Database) = drop-down

Select the Databricks database. The special value, [Environment Default], will use the database specified in the Data Productivity Cloud environment setup.


Table = string

The name of the table to be created. This table will be recreated and will drop any existing table of the same name.


Load Columns = dual listbox

Choose the columns to load. If you leave this parameter empty, all columns will be loaded.


File Type = drop-down

Select the type of data to load. Available data types are: CSV, JSON, PARQUET, and AVRO.

Component properties will change to reflect the selected file type. Click one of the tabs below for properties applicable to that file type.

Header = boolean

Select Yes to use the first line of the file as column names. If not specified, the default is No.


Field Delimiter = string

Enter the delimiter character used to separate fields in the CSV file. This can be one or more single-byte or multibyte characters that separate fields in an input file. If none is specified, the default is a comma.

Accepted characters include common escape sequences, octal values (prefixed by \\), or hex values (prefixed by 0x). This delimiter is limited to a maximum of 20 characters. The specified delimiter must be a valid UTF-8 character and not a random sequence of bytes.


Date Format = string

Describe the format of date values in the data files to be loaded. If none is specified, the default is yyyy-MM-dd.


Timestamp Format = string

Describe the format of timestamp values in the data files to be loaded. If none is specified, the default is yyyy-MM-dd'T'HH:mm:ss.[SSS][XXX].


Encoding Type = string

The encoding type to use when decoding the input files. If none is specified, the default is UTF-8.


Ignore Leading Whitespace = boolean

When Yes, removes whitespace from the beginning of fields. If not specified, the default is No.


Ignore Trailing Whitespace = boolean

When Yes, removes whitespace from the end of fields. If not specified, the default is No.


Infer Schema = boolean

If Yes, will attempt to determine the input schema automatically from the data contained in the CSV file. If not specified, the default is No.


Multi Line = boolean

If Yes, will parse records which may span multiple lines. If not specified, the default is No.


Null Value = string

Sets the string representation of a null value. If not specified, the default value is an empty string.


Empty Value = string

Sets the string representation of an empty value. If not specified, the default value is an empty string.


Recursive File Lookup = boolean

If Yes, partition inference is disabled. If not specified, the default is No. To control which files are loaded, use the Pattern property instead.


Force Load = boolean

If Yes, files are loaded regardless of whether they've been loaded before. If not specified, the default is No.

Date Format = string

Describe the format of date values in the data files to be loaded. If none is specified, the default is yyyy-MM-dd.


Timestamp Format = string

Describe the format of timestamp values in the data files to be loaded. If none is specified, the default is yyyy-MM-dd'T'HH:mm:ss.[SSS][XXX].


Encoding Type = string

The encoding type to use when decoding the input files. If none is specified, the default is UTF-8.


Multi Line = boolean

If Yes, will parse records which may span multiple lines. If not specified, the default is No.


Primitives As String = boolean

If Yes, primitive data types are interpreted as strings in JSON files. If not specified, the default is No.


Prefers Decimals = boolean

If Yes, all floating-point values will be treated as a decimal type in JSON files. If not specified, the default is No.


Allow Comments = boolean

If Yes, will allow JAVA/C++ comments in JSON records. If not specified, the default is No.


Allow Unquoted Field Names = boolean

If Yes, will allow unquoted JSON field names. If not specified, the default is No.


Allow Single Quotes = boolean

If Yes, will allow single quotes in addition to double quotes in JSON records. If not specified, the default is No.


Allow Numeric Leading Zeros = boolean

If Yes, will allow leading zeros in numbers in JSON records. If not specified, the default is No.


Allow Backslash Escaping Any Character = boolean

If Yes, will allow the quoting of all characters using the backslash quoting mechanism in JSON records. If not specified, the default is No.


Allow Unquoted Control Chars = boolean

If Yes, will allow JSON strings to include unquoted control characters in JSON records. If not specified, the default is No.


Drop Field If All Null = boolean

If Yes, will ignore columns that contain only null values in JSON records. If not specified, the default is No.


Recursive File Lookup = boolean

If Yes, partition inference is disabled. If not specified, the default is No. To control which files are loaded, use the Pattern property instead.


Force Load = boolean

If Yes, files are loaded regardless of whether they've been loaded before. If not specified, the default is No.

Merge Schema = boolean

If Yes, will merge schema from all PARQUET and AVRO part-files. If not specified, the default is No.


Recursive File Lookup = boolean

If Yes, partition inference is disabled. If not specified, the default is No. To control which files are loaded, use the Pattern property instead.


Force Load = boolean

If Yes, files are loaded regardless of whether they've been loaded before. If not specified, the default is No.

Merge Schema = boolean

If Yes, will merge schema from all PARQUET and AVRO part-files. If not specified, the default is No.


Recursive File Lookup = boolean

If Yes, partition inference is disabled. If not specified, the default is No. To control which files are loaded, use the Pattern property instead.


Force Load = boolean

If Yes, files are loaded regardless of whether they've been loaded before. If not specified, the default is No.

Name = string

A human-readable name for the component.


Schema = drop-down

Select the table schema. The special value, [Environment Default], will use the schema defined in the environment. For more information on using multiple schemas, read Schemas.


Target Table Name = drop-down

Select an existing table to load data into. The selected target table is where data will be loaded into from the S3 object.

When selecting a target table with the Redshift SUPER data type, the S3 Load component will only offer the following data file types: JSON, ORC, and PARQUET*. However, if you select to include columns of data file types other than SUPER in the Load Columns** property, all data file types will be available for selection.


Load Columns = dual listbox

Select which of the target table's columns should be loaded.


S3 URL Location = drop-down

Specify the URL of the S3 bucket to load files from. The URL follows the format s3://bucket-name/location.

The "location" parameter in the URL is optional.

When a user enters a forward slash character / after a folder name, a validation of the file path is triggered. This works in the same manner as the Go button.


S3 Object Prefix = string

All files that begin with this prefix will be included in the load into the target table.


IAM Role ARN = drop-down

Supply the value of a role Amazon Resource Name (ARN) that is already attached to your Redshift cluster, and that has the necessary permissions to access S3.

This setting is optional, since without this style of setup, the credentials of the environment (instance credentials or manually entered access keys) will be used.

Read the Redshift documentation for more information about using a role ARN with Redshift.


Data File Type = drop-down

The type of expected data to load. Some may require additional formatting, explained in the Amazon documentation.

Available options are: Avro, CSV, Delimited, Fixed Width, JSON, ORC, PARQUET.

Component properties will change to reflect the choice made here and give options based on the specific data file type.


Fixed Width Spec = string

Fixed width only. Loads the data from a file where each column width is a fixed length, rather than columns being separated by a delimiter. For more information, read the AWS documentation.


JSON Layout = string

(JSON only) Defaults to "auto", which will work for the majority of JSON files if the fields match the table field names. More information about JSON file types can be found in the AWS documentation.


Delimiter = string

(CSV only) Specify a delimiting character to separate columns. The default character is a comma: ,

A [TAB] character can be specified using "\ ".


CSV Quoter = string

(CSV only) Specify the character to be used as the quote character when using the CSV file type.


Explicit IDs = drop-down

Select whether to load data from the S3 objects into an IDENTITY column. Read the Redshift documentation for more information.


S3 Bucket Region = drop-down

Select the Amazon S3 region that hosts the selected S3 bucket. This setting is optional and can be left as "None" if the bucket is in the same region as your Redshift cluster.


Compression Method = drop-down

Specify whether the input is compressed in any of the following formats: BZip2, gzip, LZop, Zstd, or not at all (None).


Encoding = drop-down

Select the encoding format the data is in. The default for this setting is UTF-8.


Replace Invalid Characters = string

Specify a single character that will replace any invalid unicode characters in the data. The default is: ?.


Remove Quotes = drop-down

(Delimited, Fixed Width only) When "Yes", removes surrounding quotation marks from strings in the incoming data. All characters within the quotation marks, including delimiters, are retained.

If a string has a beginning single or double quotation mark but no corresponding ending mark, the COPY command fails to load that row and returns an error.

The default setting is "No".

For more information, read the AWS documentation.


Maximum Errors = integer

The maximum number of individual parsing errors permitted before the load will fail. Valuers up to this will be substituted as NULL values. The Amazon default is 1000.


Date Format = string

Defaults to 'auto'. Users can specify their preferred date format manually if they wish. For more information on date formats, read the AWS documentation.


Time Format = string

Defaults to 'auto'. Users can specify their preferred time format manually if they wish. For more information on time formats, read the AWS documentation.


Ignore Header Rows = integer

Specify the number of rows at the top of the file to ignore. The default is 0 (no rows ignored).


Accept Any Date = drop-down

  • Yes: Invalid dates such as '45-65-2020' are not considered an error, but will be loaded as NULL values. This is the default setting.
  • No: Invalid dates will return an error.

Ignore Blank Lines = drop-down

(CSV only) When "Yes", ignores blank lines that only contain a line feed in a data file and does not try to load them. This is the default setting.


Truncate Columns = drop-down

  • Yes: any instance of data in the input file that is too long to fit into the specified target column width will be truncated to fit, instead of causing an error.
  • No: any data in the input file that is too long to fit into the specified target column width will cause an error. This is the default setting.

Fill Record = drop-down

When "Yes", allows data files to be loaded when contiguous columns are missing at the end of some records. The missing columns are filled with either zero-length strings or NULLs, as appropriate for the data types of the columns in question. This is the default setting.


Trim Blanks = drop-down

  • Yes: Removes the trailing white space characters from a VARCHAR string. This property only applies to columns with a VARCHAR data type.
  • No: does not remove trailing white space characters from the input data.

NULL As = string

Loads fields that match the specified NULL string. The default is \\N with an additional \ at the start to escape. Case-sensitive.

For more information, read the AWS documentation.


Empty As Null = drop-down

When "Yes", empty columns in the input file will become NULL values. This is the default setting.


Blanks As Null = drop-down

When "Yes", loads blank columns, which consist of only whitespace characters, as NULL. This is the default setting.

This option applies only to CHAR and VARCHAR columns. Blank fields for other data types, such as INT, are always loaded with NULL. For example, a string that contains three space characters in succession (and no other characters) is loaded as a NULL. The default behavior, without this option, is to load the space characters as is.


Comp Update = drop-down

When "On", compression encodings are automatically applied during a COPY command. This is the default setting.

This is usually a good idea to optimise the compression used when storing the data.


Stat Update = drop-down

When "On", governs automatic computation and refreshing of optimiser statistics at the end of a successful COPY command. This is the default setting.


Escape = drop-down

(Delimited only) When "Yes", the backslash character \ in input data is treated as an escape character. The character that immediately follows the backslash character is loaded into the table as part of the current column value, even if it is a character that normally serves a special purpose. For example, you can use this parameter to escape the delimiter character, a quotation mark, an embedded newline character, or the escape character itself when any of these characters is a legitimate part of a column value.

The default setting is "No".


Round Decimals = drop-down

When "Yes", any decimals are rounded to fit into the column in any instance where the number of decimal places in the input is larger than defined for the target column. This is the default setting.


Manifest = drop-down

When "Yes", the given object prefix is that of a manifest file. The default setting is "No".

For more information, read the AWS documentation.


S3 access

To access an S3 bucket from a different AWS account, the following is required:

  • Set up cross-account access via AWS roles.
  • The user must type in the bucket they want to access or use a variable to load/unload to those structures.

File patterns with Snowflake

In Snowflake, the Pattern parameter in the COPY INTO syntax is a pattern on the complete path of the file and is not just relative to the directory configured in the S3 Object Prefix parameter.

The table below provides an example of S3 Object Prefix and Pattern behaviours, including success and failure states.

S3Object Prefix Pattern Outcome Comments
s3://testbucket/ testDirectory/alphabet_0_0_0.csv.gz Success This is the format that the S3 Load Generator will generate.
s3://testbucket/testDirectory/ testDirectory/alphabet_0_0_0.csv.gz Success Loads the file successfully because the pattern is matching the full path.
s3://testbucket/testDirectory/ .*.csv.gz Success Would load all files ending in .csv.gz in the testDirectory directory.
s3://testbucket/testDirectory/ alphabet_0_0_0.csv.gz Failure Does not load the file because the pattern does not match.

Snowflake Databricks Amazon Redshift

Video