ekuiper
ekuiper copied to clipboard
Can not create a rule that starts with '-' prefix and expression between parenthesis
Environment:
Environment:
- eKuiper version: 1.11.4
- Hardware configuration: Intel I-7 CPU
- OS: Alpine docker image
- Others:
What happened and what you expected to happen: if you try to create a rule with expression that starts with '-' prefix and expression between parenthesis, it is refused and it should be accepted as it is a valid mathematical expression that can be used in any other calculator.
How to reproduce it (as minimally and precisely as possible):
try to create a rule with -(5+2) for example
SELECT -(5+2) as comp_result
Anything else we need to know?: