Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Bolo.

Table of Contents

Search

  1. Introducing Mass Ingestion
  2. Getting Started with Mass Ingestion
  3. Connectors and Connections
  4. Mass Ingestion Applications
  5. Mass Ingestion Databases
  6. Mass Ingestion Files
  7. Mass Ingestion Streaming
  8. Monitoring Mass Ingestion Jobs
  9. Asset Management
  10. Troubleshooting

Mass Ingestion

Mass Ingestion

Google Cloud Storage V2 source properties

Google Cloud Storage V2 source properties

When you define a file ingestion task with a Google Cloud Storage V2 source, you must enter source options on the
Source
tab of the task wizard.
You can overwrite the file name pattern, folder, and table parameters, and define your own variable for sources by using the job resource of the Mass Ingestion Files REST API. For more information, see Mass Ingestion Files REST API.
The following table describes the source options:
Option
Description
File Pickup
The file ingestion task supports the following file pickup methods:
  • By Pattern
    . The file ingestion task picks up files by pattern.
  • By File List
    . The file ingestion task picks up files based on a file list.
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:
  • An asterisk (*) to represent any number of characters.
  • A question mark (?) to represent a single character.
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:
  • Greater than or Equal
    . Filters files that are modified on or after the specified date and time.
    To specify a date, click the calendar. To specify a time, click the clock.
  • Less than or Equal
    . Filters files that are modified before or on the specified date and time.
  • Equal
    . Filters files that are modified on the specified date and time.
    Click the calendar to select the date and the clock to select the time.
  • Days before today
    . Filters files that are modified within the specified number of days until the current date (today). Enter the number of days. The current date calculation starts from 00:00 hours.
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:
  • Greater than or Equal
    . Filters files that are greater than or equal to the specified size.
  • Less than or Equal
    . Filters files that are less than or equal to the specified size.
  • Equal
    . Filters files that have the specified size.
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 files are transferred from the source to target without an intermediate staging server, the maximum number of files you can transfer in a batch is 8000.
  • If files pass through an intermediate staging server, the maximum number of files you can transfer in a batch is 20.
  • If you transfer files from any source to a Snowflake target, the maximum number of files you can transfer in a batch is 1000.
If you transfer files from Google Cloud Storage to Google BigQuery, the task transfers files with no intermediate staging server.

0 COMMENTS

We’d like to hear from you!