Constraints
Learn how to use constraints
source: source_name
target: target_name
streams:
my_stream:
columns:
# id values cannot be null
id: bigint | value is not null
# status values can only be active or inactive
status: string | value in ('active', 'inactive')
# col_1 value length can only be 6, 7 or 8
col_1: string(8) | value_len > 5 and value_len <= 8Handling failures
Supported Operators
Special Variables
Using CLI Flags
Using YAML
Last updated
Was this helpful?