This section highlights the essential operators and functions that the row filters and pass conditions support when you configure custom rules.
Supported operators
Numeric and temporal field operators
Use numeric operators to evaluate values in Integer, Long, Float, Date, DateTime, and Time fields.
| Operator | Binary/Unary | Expression true when |
|---|---|---|
| is | Binary | Field value is equal to a literal or field value. |
| is not | Binary | Field value is not equal to a literal or field value. |
| is null | Unary | Field value is null. |
| is not null | Unary | Field value is not null. |
| Greater than | Binary | Field value is greater than a literal or field value. |
| Greater than or equal | Binary | Field value is greater than or equal to a literal or field value. |
| Less than | Binary | Field value is less than a literal or field value. |
| Less than or equal | Binary | Field value is less than or equal to a literal or field value. |
String field operators
Use string operators to evaluate values in textual fields.
| Operator | Binary/Unary | Expression true when |
|---|---|---|
| Equal | Binary | Field string value matches a literal or field value. |
| Not equal | Binary | Field string value does not match a literal or field value. |
| In | Binary | Field string value matches any one of two or more literal values. (Type and press Enter to add each literal value to the box.) |
Logical field operators
Use logical operators to check values in fields that represent either true or false conditions.
| Operator | Binary/Unary | Expression true when |
|---|---|---|
| Equal | Binary | Field value is equal either to a literal True or False value or to the value in another Boolean field. |
| Null | Unary | Field value is null. |
| Not null | Unary | Field value is not null. |
Operators and their description
| Operator | Description |
|---|---|
| = (equals) |
Selects records where a field's value is equal to a specified value. For example, |
| != (not equal to) |
Selects records where a field's value is not equal to a specified value. |
| > (greater than) |
Selects records where a field's value is greater than a specified value. For example, |
| < (less than) |
Selects records where a field's value is less than a specified value. |
| >= (greater than or equal to) |
Selects records where a field's value is greater than or equal to a specified value. |
| <= (less than or equal to) |
Selects records where a field's value is less than or equal to a specified value. |
| IN |
Selects records where a field's value matches any value in a specified list. For example, |
| IS NULL | Selects records where the specified field has a null or undefined value. For example, Phone Number IS NULL, if you have a database of customer information and you want to find all records where the "Phone Number" field is not filled in, you would use the "IS NULL" condition on the "Phone Number" field. Phone Number IS NULL
|
| IS NOT NULL | Selects records where the specified field has a defined (non-null) value. For example, Email IS NOT NULL, if you want to find all records in a dataset where the "Email" field has been filled in (i.e., it is not null), you would use the "IS NOT NULL" condition on the "Email" field. |
| AND |
Logical operator that combines multiple conditions and returns results that satisfy all of them. For example, you may select data where |
| OR |
Logical operator that combines conditions and returns results that satisfy at least one of them. For example, you may select data where |
| ! |
Logical operator that negates a condition, returning results that do not meet the specified criteria. For example, |
Functions and their description
| Function | Description | Syntax | Example |
|---|---|---|---|
| ucase | Converts the values of input string to upper case characters. |
|
Returns‘AMY’ |
| lcase | Converts the values of input string to lowercase characters. |
|
Returns‘stamp’
|
| tcase | Converts the values of input string to title case |
|
Returns‘Mary’
|
| trim | Trims the leading and trailing white space of input string. |
|
Returns 'Amy' ( By removing extra spaces) |
| ltrim | Removes leading (left-side) spaces from a string. |
|
Returns 'Amy' ( By removing extra spaces to the left of the attribute value) |
| rtrim | Removes (right-side) white spaces from attribute values. |
|
Returns 'Amy' ( By removing extra spaces to the right of the attribute value)
|
| lpack | Removes all spaces between elements and includes any trailing blanks. |
|
Returns ' TestEngineer' |
| rpack | Removes all spaces between elements and includes any leading blanks. |
|
Returns 'TestEngineer' |
| mask | Generates a pattern to an actual input value, replacing certain characters with specified placeholders. |
|
Returns 'NA-NNNNAA'
|
| substr | Extracts a substring from a given string based on specified starting position and length. |
|
Returns 'TENGINEER'
Returns 'ENG'
|
| concat | Joins two or more strings without space. |
|
Returns 'TEST-ENGINEER' |
| regexp | Applies regular expressions to a string and returns the part of the string that matches the expression. |
|
Returns 'TEST' |
| replace | Replaces occurrences of a specified substring or pattern in a string with another substring. |
|
Returns 'TestSoftware'
|
| split | Splits a string into an array of substrings based on a specified separator character. |
|
Returns 'Engineer'
Returns 'Test'
|
| now | Converts current date-time to localDateTime. |
|
Returns the value based on your current system time: 2026-04-22 23:49:15
|
|
dt_diff
|
Calculate difference b/w two different or same format types of date-time values. |
|
Returns -3578.0
Returns 864000.0
Returns 28944000.0
|
| isalpha |
Checks if the string argument is alphabetic.
. |
|
Returns True
Returns True
|
|
isalphanum
|
Checks if the string argument is alphanumeric.
|
|
Returns True
Returns True
|
| dt_is_date | Checks whether given input is of date or not. |
|
Returns True |
|
dt_is_time
|
Checks whether given input is of time or not.
|
|
Returns True
|
| begins_with | Checks whether a string starts with the value given or not. |
|
Returns False |
| ends_with | Checks whether a string ends with the value given or not. |
|
Returns True
Returns False |
| not_in | It excludes the values present in data. |
|
Returns False
Returns True |
| to_date |
Converts iso format string to LocalDate.
|
|
Returns the date value in the local date datatype form. |
| to_time |
Converts iso format string to LocalTime
|
|
Returns the time value in the local time datatype form.
|
| to_datetime |
Converts iso format string to LocalDateTime
|
|
Returns the datetime in the Local Date Time form |
| reverse | Reverses the string. |
|
Returns ‘olleh’
|
| hexval | Converts a hexadecimal value to a character. |
|
Returns 48656C6C6F
|
| humanize | Converts a string to make it look similar to written language text. |
|
Returns Foo bar baz |
| metaphone | Returns the metaphone code for a value. |
|
Returns PRKRMNK
|
| soundex | Returns a value's 4-character soundex code. |
|
Returns H400
|
| standardize | Converts a value into a standardized decimal, integer, or string. |
|
Returns HELLO |
| insert | Insert or overwrite one string into another string at the specified offset and overwrite options |
|
Returns Hello Earth
|
| to_string |
Converts a data to string value.
|
|
Returns '123'
|
| dt_name |
Extracts the specified part of date-time and return the localized name.
|
|
Returns 'February'
|
| dt_min |
Compares given date-time inputs and return minimum of them.
|
|
Returns '03/12/2013'
|
|
dt_max
|
Compares given date-time inputs and return maximum of them.
|
|
Returns ‘2014-11-23'
|
| dt_now |
Returns current date-time in given format.
|
|
Returns '2024-11-05'
Returns '2014-06-16 16:11'
Returns '06-16'
|
|
seconds_to_date
|
Converts seconds to given date-time format.
|
|
Returns 2011-12-03 10:15:30 |
|
dt_convert
|
Converts date-time from original format to new specified format.
|
|
Returns 2013-12-03
|
|
dt_ceiling
|
Updates the specified part of date-time to maximum level. |
|
Returns 2014-03-01
|
|
dt_add
|
Increments or decrements the given part of date or time.
|
|
Returns '05/06/2022'
Returns '01/06/2022’ |
|
append
|
Appends list of string to a single string
|
|
Returns ‘hello world’ |
|
length
|
Returns length of string
|
|
Returns 9 |
|
to_number
|
Converts a numeric string to number.
|
|
Returns 12345
Returns 12.23
|
|
abs
|
Returns the absolute value of a number
|
|
Returns 7.25
|
|
ceiling
|
Rounds a number rounded UP to the nearest integer. |
|
Returns 3 |
|
floor
|
Rounds a number DOWN to the nearest integer
|
|
Returns 3
|
|
square_root
|
Returns the square root of a number
|
|
Returns 9 |
|
to_int
|
Converts double value to integer value.
|
|
Returns 22
|
|
seconds_in
|
Returns number of seconds within a time period.
|
|
Returns 172,800
|
|
to_decimal
|
Converts integer value to decimal value. |
|
Returns 22.0
|
|
max
|
Returns larger of two numbers.
|
|
Returns 10 |
| min |
Returns smaller value of two numbers.
|
|
Returns 5 |
|
divide_int
|
Returns the quotient of the division
|
|
Returns 2
|
|
rem
|
Returns the remainder of the division
|
|
Returns 0 |
|
percent
|
Returns the percentage that one number is of another number
|
|
Returns 200% |
|
power
|
Calculates the values of one number raised to the power of another.
|
|
Returns 9
|
|
round
|
Rounds a decimal number according to the rounding mode.
|
|
Returns 4.5
|
|
occstr
|
Returns the position of substring parsing the string from the specified direction.
|
|
Returns 4
Returns 5
|
|
to_epoch
|
Returns epoch seconds of date-time.
|
|
Returns 1692535820
|
|
array_length
|
Returns the length of the given list.
|
|
Returns 3
|
|
date_to_seconds
|
Converts iso format string to UTC seconds. |
|
Returns 170367324
|
|
dt_part
|
Extracts the specified part of date-time and return the value as an integer.
|
|
Returns 2004
Returns 4 |
|
isblank
|
Checks if the string argument is blank.
|
|
Returns True
|
|
isnumeric
|
Checks if the string argument is numeric. |
|
Returns True
Returns True
Returns False
|
|
isnull
|
Checks if the string argument is null.
|
|
Returns False
|
|
isempty
|
Checks if the string argument is empty.
|
|
Returns True
Returns False
|
|
islogical
|
Checks if the string argument is boolean.
|
|
Returns True
|
|
isnumber
|
Checks if the string argument is number.
|
|
Returns True
|
|
contains
|
Checks if the string argument contains the search string.
|
|
Returns True
Returns False
|
|
matches
|
Checks if the string argument matches the regex.
|
|
Returns True
|
Syntax:
dt_name(String date, String format, String part)
Example: dt_name('16-08-2026', 'dd-MM-yyyy', 'day')
If the date isn't stored as a String in the table, convert it with the to_string() function.
Example:
dt_name(to_string(DATE_COLUMN_NAME), 'dd-MM-yyyy', 'day').
- Check if a string is numeric and contains a specific character
Query:
isnumber(data) && contains(data, 'CHARACTER')Example:
isnumber('123.4$') && contains('123.4$', '$')Returns true.
- Check if the data is a logical value or an empty string
Query:
islogical(data) || isempty(data)Example:
islogical('') || isempty('')Returns true since the string is empty.
- Check if a string is numeric but not a whole number
Query:
isnumeric(data) && contains(data, '.')Example: isnumeric('12.34') && contains('12.34', '.')islogical('') || isempty('')
Returns true since the string is the string is numeric and contains a dot.
- Check if a string matches a regex and is not null
Query:
!isempty(data) && matches(data, '^[A-Za-z0-9]+$')Example:
!isempty('User123') && matches('User123', '^[A-Za-z0-9]+$')Returns true.
Dimensions supported in Custom rules:
| Dimension | Description |
|---|---|
| Completeness | Checks for completeness in the configured custom rule |
| Validity | Checks if the entered values are valid thereby eliminating any void or null values. |
| Consistency | Checks for uniformity of information across systems |
| Accuracy | Reflects the degree to which information reflects correctly |
| Timeliness | Ensures the information is available when required |
| Uniqueness | Ensures each data element appears only once in the database. |