Assert View Component

Assert View Component



Assert View

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 View component lets users verify that certain conditions are true of a view, or otherwise stop the query.

Whenever a view is accessible on a Transformation Job, users can attach an Assert View component and assert against the metadata, values, and row count using comparison operators such as Equal to, Less than or equal to, Greater than or equal to, and Range.



Redshift Properties

Property Setting Description
Name String Input the descriptive name for the component.
Metadata Name The column name.
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. With 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.
Scale Relevant only for numeric data, it is the maximum number of digits that may appear to the right of the decimal point.
Values String Input the values for each column. Separate values in the same column with a comma.
Ignore Metadata Order Boolean When set to "True", Matillion ETL will ignore the metadata order. Default is "False".
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.
Metadata Name The name of each column.
Type Select a date type.
VARCHAR: this type can hold any kind of data, subject to a maximum size. More...
NUMBER: this type is suitable for whole-number types (no decimals). More...
Note: You can enter AUTOINCREMENT or IDENTITY as the default value for any numeric-type column and the column will automatically give an incremented value on each new row starting from 1. This feature is useful when creating a unique key on the table.
FLOAT: this type is suitable for numeric types, with or without decimals. 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...
TIMESTAMP: this type is suitable for timestamps. More...
TIME: this type is suitable for times only. More...
VARIANT: a flexible type that can be used for any purpose. 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.
Scale Relevant only for numeric data, it is the maximum number of digits that may appear to the right of the decimal point.
Values String Input the values for each column. Separate values in the same column with a comma.
Ignore Metadata Order Boolean When set to "True", Matillion ETL will ignore the metadata order. Default is "False".
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.
Metadata Name The name of each column.
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).
REPEATED: Column contains an array of values of the specified type.
Values String Input the values for each column. Separate values in the same column with a comma.
Ignore Metadata Order Boolean When set to "True", Matillion ETL will ignore the metadata order. Default is "False".
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.