iotdb
iotdb copied to clipboard
[IOTDB-3784] tag aggregation: basic support
Please see: https://issues.apache.org/jira/browse/IOTDB-3784 For SQL grammar changes and examples: https://apache-iotdb.feishu.cn/docx/doxcnJRODVJEuadoIuBW0uHnmvc
Work Items:
- [x] Basic
GROUP BY TAGaggregaton. - [x] Tag by multi keys.
- [x] Aggregation mixed with time window and tag keys.
- [x] Tag aggregation with raw data time filter.
- [x] Tag aggregation with raw data alue filter. Not supprted, the same with GROUP BY LEVEL.
- [x] Integration test passed in cluster mode.
- [x] User guide.
The limit & offset, ALIGN BY DEVICE, Aggregtion with inner expression, and HAVING will be supported in later PRs, as this one is very large now.
I will handle this feature afterwards~ Thanks for your contribution @cornmonster