Skip to content

Commit

Permalink
[Feature] add assert sink check
Browse files Browse the repository at this point in the history
  • Loading branch information
liunaijie committed Sep 15, 2023
1 parent 3f966dc commit 01865f2
Showing 1 changed file with 57 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,61 @@ sink {
Console {

}
Assert {
rules {
row_rules = [
{
rule_type = MAX_ROW
rule_value = 5
}
],
field_rules = [
{
field_name = c_string
field_type = string
field_value = [
{
rule_type = NOT_NULL
}
]
},
{
field_name = c_boolean
field_type = boolean
field_value = [
{
rule_type = NOT_NULL
}
]
},
{
field_name = c_double
field_type = double
field_value = [
{
rule_type = NOT_NULL
}
]
},
{
field_name = name
field_type = string
field_value = [
{
rule_type = NOT_NULL
}
]
},
{
field_name = hobby
field_type = string
field_value = [
{
rule_type = NOT_NULL
}
]
}
]
}
}
}

0 comments on commit 01865f2

Please sign in to comment.