bigcyy opened a new pull request, #3410:
URL: https://github.com/apache/hertzbeat/pull/3410

   ## What's changed?
   
   <!-- Describe Your PR Here -->
   
   #3205 
   - This PR enhances threshold rule expression handling by introducing support 
for embedded SQL and PromQL queries via `sql("...")` and `promql("...")` 
syntax. 
   - It also extends SQL parsing capabilities to support conditional logic 
directly within SQL expressions (e.g., `SELECT count(*) FROM table WHERE value 
> 10`).
   - Added tests for valid and invalid SQL expressions.
   
   ## Checklist
   
   - [X]  I have read the [Contributing 
Guide](https://hertzbeat.apache.org/docs/community/code_style_and_quality_guide)
   - [X]  I have written the necessary doc or comment.
   - [X]  I have added the necessary unit tests and all cases have passed.
   
   ## Add or update API
   
   - [ ] I have added the necessary [e2e 
tests](https://github.com/apache/hertzbeat/tree/master/e2e) and all cases have 
passed.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@hertzbeat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@hertzbeat.apache.org
For additional commands, e-mail: notifications-h...@hertzbeat.apache.org

Reply via email to