Click to copy
Functions And Operators • Reviewed for ksqlDB 0.29
How to Use Operators in ksqlDB
In ksqlDB, operators are functions built into the language — they provide many common operations you will need:
AND,ORandNOT=,!=,<,<=,>,>=- string
LIKEpattern - string
NOT LIKEpattern - value
IS NULL - value
IS NOT NULL
+,-,*,/,%
+,||: to concatenate two strings together
- timestamp
ATtimezone BETWEENtime_fieldANDtime_fieldNOT BETWEENtime_fieldANDtime_field
[]: get the element at the index as of[1]
->: get the field from struct as ofstruct->field.
Below are some common use cases on when you will need them:
Was this article helpful?