You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2022/02/28 12:57:22 UTC
[GitHub] [skywalking-banyandb] lujiajing1126 commented on pull request #87: Add groupBy to the measure query request
lujiajing1126 commented on pull request #87:
URL: https://github.com/apache/skywalking-banyandb/pull/87#issuecomment-1054229876
In the current api design, as I understand, we can only have one single aggregation on a single field, `SELECT AVG(field_A) FROM measure_A GROUP BY tag_A`.
An alternative approach would be to separate field projection as `one_of`,
1. Direct Field Projection with a field name, `SELECT latency ...`
2. Indrect Field Projection with a field name, aggregation method and an alias, e.g. `SELECT AVG(latency) as avg_latency, MAX(latency) as max_latency ...`
while `groupBy` is only a single tag name. WDYT?
--
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-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org