Assert External Table Component

Assert External Table Component



Assert External Table Component

This component forms part of Matillion ETL's assert components suite. This suite of components is an Enterprise Mode feature. Click the link to learn more about Matillion ETL Enterprise Mode.

Learn about Matillion ETL's other assert components in the Assert Components Overview guide.

Overview

The Assert External Table component asserts the metadata and row count of an external table.



Redshift Properties

Property Setting Description
Name String Input the descriptive name for the component.
Schema Select Select the table schema. The special value, [Environment Default], will use the schema defined in the environment. For more information on using multiple schemas, see Schema Support.
Table Name Select Select the table to assert.
Exists Select This property asserts that the table exists within the database.
Table Metadata Column Name The name of the new column.
Type Select the data type.
Text: a string can hold any kind of data, subject to a maximum size. More...
Integer: an integer data type is suitable for whole numbers (no decimals). More...
Numeric: the numeric data type accepts numbers, with or without decimals. More...
Real: this type is suitable for data of a single precision floating-point number. More...
Double Precision: this type is suitable for data of a double precision floating-point number. More...
Boolean: data with a Boolean data type can be either "true" or "false". More...
Date: this type is suitable for dates without times. More...
DateTime: this type is suitable for dates, times, or timestamps (both date and time). More...
Size For text types, this is the maximum length. This is a limit on the number of bytes, not characters. For Redshift, since all data is stored using UTF-8, any non-ASCII character will count as 2 or more bytes.
For Numeric types, this is the total number of digits allowed, whether before or after the decimal point.
Decimal Places Relevant only for "Numeric" data, it is the maximum number of digits that may appear to the right of the decimal point.
Row Count Comparison Type Select Select how row count values are compared.
Possible comparison operators include: "Equal to", "Greater than or equal to", "Less than or equal to", and "Range".
Equal to: The value in the Input Column must be equal to that specified in the Value Column. This is the default comparison operator.
Greater than or equal to: The value in the Input Column must be greater than or equal to the value in the Value Column.
Less than or equal to: The value in the Input Column must be less than or equal to the value in the Value Column.
Range: This allows users to specify the range for the value of the row counts.
Selecting "Range" makes the Upper Value and Lower Value properties available.
Note: Not all data sources support all comparison operators; thus, it is likely that only a subset of the above comparison operators will be available to choose from.
Lower Value Integer Set the lower value. This property is only available when Row Count Comparison Type is set to "Range".
Upper Value Integer Set the upper value. This property is only available when Row Count Comparison Type is set to "Range".
Row Count Value Integer Specify the number of rows.

Snowflake Properties

Property Setting Description
Name String Input the descriptive name for the component.
Database Select Choose a database.
Schema Select Select the table schema. The special value, [Environment Default], will use the schema defined in the environment. For more information on using multiple schemas, see this article.
Table Name Select Select the table to assert.
Exists Select This property asserts that the table exists within the database.
Table Metadata Column Name The name of the new column.
Data Type Varchar: This type is suitable for numbers and letters. A varchar or Variable Character Field is a set of character data of indeterminate length. More...
Number: This type is suitable for numeric types, without or with decimals. More...
Float: This type of values are approximate numeric values with fractional components. More...
Boolean: This type is suitable for data that is either "true" or "false". More...
Date: This type is suitable for dates without times. More...
Time: This type is suitable for time, independent of a specific date and timezone. More...
Timestamp: This type is a timestamp left unformatted (exists as Unix/Epoch Time). More...
Variant: Variant is a tagged universal type that can hold up to 16 MB of any data type supported by Snowflake. More...
Size For Text types, this is the maximum length. This is a limit on the number of bytes, not characters.
For Numeric types, this is the total number of digits allowed, whether before or after the decimal point.
Precision The precision of the data in the column. Will be 0 (zero) for non-applicable types.
Row Count Comparison Type Select Select how row count values are compared.
Possible comparison operators include: "Equal to", "Greater than or equal to", "Less than or equal to", and "Range".
Equal to: The value in the Input Column must be equal to that specified in the Value Column. This is the default comparison operator.
Greater than or equal to: The value in the Input Column must be greater than or equal to the value in the Value Column.
Less than or equal to: The value in the Input Column must be less than or equal to the value in the Value Column.
Range: This allows users to specify the range for the value of the row counts.
Selecting "Range" makes the Upper Value and Lower Value properties available.
Note: Not all data sources support all comparison operators; thus, it is likely that only a subset of the above comparison operators will be available to choose from.
Lower Value Integer Set the lower value. This property is only available when Row Count Comparison Type is set to "Range".
Upper Value Integer Set the upper value. This property is only available when Row Count Comparison Type is set to "Range".
Row Count Value Integer Specify the number of rows.

BigQuery Properties

Property Setting Description
Name String Input the descriptive name for the component.
Project Select The target BigQuery project to load data into.
Dataset Select The target BigQuery dataset to load data into.
Table Name Select Select the table to assert.
Exists Select This property asserts that the table exists within the database.
Table Metadata Field Name The name of the new field.
Data Type String: a string can hold any kind of data, subject to a maximum size. More...
Integer: an integer data type is suitable for whole numbers (no decimals). More...
Float: floating point values are approximate numeric values with fractional components. More...
Numeric: the numeric data type accepts numbers, with or without decimals. More...
Boolean: data with a Boolean data type can be either "true" or "false". More...
Date: this data type is suitable for dates without times. More...
Time: this data type is suitable for time, independent of a specific date or timezoneMore...
DateTime: this type is suitable for dates, times, or timestamps (both date and time). More...
Timestamp: this type is a timestamp left unformatted (exists as Unix/Epoch Time). More...
Struct: this data type is suitable for a struct. More...
Record: this data type is suitable for a record. More...
Mode BigQuery supports the following modes for your columns. Using a mode is optional. If the mode is unspecified, the column defaults to NULLABLE. NULLABLE: Column allows NULL values (default).
REQUIRED: NULL values are not allowed.
REPEATED: Column contains an array of values of the specified type.
Row Count Comparison Type Select Select how row count values are compared.
Possible comparison operators include: "Equal to", "Greater than or equal to", "Less than or equal to", and "Range".
Equal to: The value in the Input Column must be equal to that specified in the Value Column. This is the default comparison operator.
Greater than or equal to: The value in the Input Column must be greater than or equal to the value in the Value Column.
Less than or equal to: The value in the Input Column must be less than or equal to the value in the Value Column.
Range: This allows users to specify the range for the value of the row counts.
Selecting "Range" makes the Upper Value and Lower Value properties available.
Note: Not all data sources support all comparison operators; thus, it is likely that only a subset of the above comparison operators will be available to choose from.
Lower Value Integer Set the lower value. This property is only available when Row Count Comparison Type is set to "Range".
Upper Value Integer Set the upper value. This property is only available when Row Count Comparison Type is set to "Range".
Row Count Value Integer Specify the number of rows.