The Validate tool is very useful for automated testing and productionizing models. It enables you to create custom warnings based on conditions so you can highlight if something seems strange. The Validate tool can be highly effective for customizing warnings that highlight scenarios that should cause caution in the dataset.
You can create multiple warnings in a single model
Model warnings are shown explicitly in your folders
Configuration
There are two ways to use the Validate tool: zero rows and by condition. Zero rows means that you want to create a warning if the incoming dataset has zero rows. By condition means that you want to create a warning if a boolean column is false.
Method
Select the method you want to use: zero row or by condition.
Log type
Info, warning or error
Downstream execution
Select the timezone that you want the current date and time to be formatted
in. All timezones are available in the dropdown.
Log message
Select the timezone that you want the current date and time to be formatted
in. All timezones are available in the dropdown.
Method
Select the method you want to use: zero row or by condition.
Log type
Info, warning or error
Downstream execution
Select the timezone that you want the current date and time to be formatted
in. All timezones are available in the dropdown.
Conditional column
Select the timezone that you want the current date and time to be formatted
in. All timezones are available in the dropdown.
Number of messages
Select the timezone that you want the current date and time to be formatted
in. All timezones are available in the dropdown.
Log message
Select the timezone that you want the current date and time to be formatted
in. All timezones are available in the dropdown.
Examples