DaZuiZui opened a new pull request, #18547:
URL: https://github.com/apache/iotdb/pull/18547

   ## What is changed
   
   Implement calendar-aware `mo`/`y` durations for Continuous Query `EVERY` and 
`RANGE` clauses, based on the agreed design in #18428.
   
   - Preserve structured `(monthPart, fixedPart)` durations through parsing and 
the CQ request.
   - Calculate occurrences and RANGE endpoints from the original boundary in 
the persisted zone, including month-end, leap-year, and DST behavior.
   - Add versioned structured duration fields to `TCreateCQReq`, with 
validation and legacy sentinel handling.
   - Version CQ snapshots while retaining legacy fixed-duration snapshot 
compatibility.
   - Use actual occurrence distance for execution timeout and avoid advancing 
stale callbacks.
   - Add checked duration parsing/arithmetic and component-wise semantic 
validation.
   
   ## Verification
   
   `git diff --check` passes. Full Maven compilation is currently blocked by 
pre-existing generated Thrift/API version mismatches in this checkout.
   
   Fixes #18428
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to