• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

taosdata / TDengine / #4985 / 1
73%
main: 60%

Build:
Build:
LAST BUILD BRANCH: 3.0
DEFAULT BRANCH: main
Ran 15 Mar 2026 07:53PM UTC
Files 609
Run time 20s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Mar 2026 07:43AM UTC coverage: 68.601% (-0.04%) from 68.643%
#4985.1

push

travis-ci

web-flow
feat(stream): add natural time units support for PERIOD trigger (#34766)

Implement week/month/year units for stream PERIOD trigger with natural
boundary alignment and offset support.

Key changes:
- Parser: Add validation for natural time units (w/n/y) and offset parameter
- Time utilities: Add getDuration() support for week/month/year units
- TriggerTask: Implement window calculation with natural boundary alignment
  - Week: align to Monday 00:00:00
  - Month: align to 1st of month 00:00:00
  - Year: align to Jan 1st 00:00:00
- Add offset support: PERIOD(1w, 1d) shifts window by 1 day
- Unit tests: Parser validation, time utilities, TriggerTask window calculation
- System tests: End-to-end tests for week/month/year units with offset
- Documentation: Update user manual with natural time unit examples

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

212624 of 309941 relevant lines covered (68.6%)

136450774.73 hits per line

Source Files on job #4985.1
  • Tree
  • List 609
  • Changed 170
  • Source Changed 0
  • Coverage Changed 170
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4985
  • 163aa941 on github
  • Prev Job for on 3.0 (##4984.1)
  • Next Job for on 3.0 (##4986.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc