list empty verification sql statement #1391
Answered
by
ngjaying
lfoIncluit
asked this question in
Q&A
-
How can I verify if list is empty in a rule statement. Example:
|
Beta Was this translation helpful? Give feedback.
Answered by
ngjaying
Sep 5, 2022
Replies: 1 comment
-
There is a cardinality function to check the length of a list: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lfoIncluit
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a cardinality function to check the length of a list:
cardinality(at1) = 0
. Please check the doc https://ekuiper.org/docs/en/latest/sqls/built-in_functions.html#other-functions