Data Ingestion and Replication
- Data Ingestion and Replication
- All Products
Option
| Description
|
---|---|
File Pickup
| The file ingestion task supports the following file pickup methods:
|
Source Directory
| Directory from where files are transferred.
You can enter a relative path to the source file system. To enter a relative path, start the path with a period, followed by a slash (./). The path is relative to the source directory specified in the connection.
|
Add Parameters
| Create an expression to add it as a
Source Directory parameter. For more information, see
Add Parameters.
|
Include files from sub-folders
| Transfer files from all subfolders under the defined source directory.
|
File Pattern
| File name pattern to use for selecting the files to transfer. The pattern can be a regular expression or a pattern with wildcard characters.
The following wildcard characters are allowed:
For example, you can specify the following regular expression:
([a-zA-Z0-9\s_\\.\-\(\):])+(.doc|.docx|.pdf)$
|
File Date
| A date and time expression for filtering the files to transfer.
Select one of the following options:
For example, if you schedule the
file ingestion task to run weekly and want to filter for the files that were modified in the previous week, set
Days before today to 7. The task will pick up any file with a date between 7 days ago and the date on which it runs.
|
Time Zone
| If you selected a
File Date option, enter the time zone of the location where the files are located.
|
File Size
| Filters the files to transfer based on file size. Enter the file size, select the file size unit, and filter options.
Select one of the following filter options:
|
Skip Duplicate Files
| Indicates whether to skip duplicate files. If you select this option, the file ingestion task does not transfer files that have the same name and creation date as another file. The file ingestion task marks these files as duplicate in the job log. If you do not select this option, the task transfers all files, even files with duplicate names and creation dates.
|
Check file stability
| Indicates whether to verify that a file is stable before a file ingestion task attempts to pick it. The task skips unstable files it detects in the current run.
|
Stability check interval
| This applies when you enable the
Check file stability option. Time in seconds that a file ingestion task waits to check the file stability.
For example, if the stability time is 15 seconds, the file ingestion task detects all the files in the source folder that match the defined file pattern, waits for 15 seconds, and processes only the stable files.
The interval ranges between 10 seconds to 300 seconds. Default is 10 seconds.
|
Batch Size
| The number of files a
file ingestion task can transfer in a batch.
Default is 5.
The maximum batch size varies, based on the following conditions:
If you transfer files from Google Cloud Storage to Google BigQuery, the task transfers files with no intermediate staging server.
|