Skip to content

TimeSeries: Support twa aggregator for range queries #3217

@yezhizi

Description

@yezhizi

Search before asking

  • I had searched in the issues and found no similar issues.

Motivation

When using TS.RANGE/TS.MRANGE for range queries, it supports specifying twa (time-weighted average) as the aggregator

Redis reference:
https://redis.io/docs/latest/commands/ts.range/
Twa details

Solution

Refer to others aggregator like sum, avg
Refer to this code snippets

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions