iotdb icon indicating copy to clipboard operation
iotdb copied to clipboard

[IOTDB-3784] tag aggregation: basic support

Open cornmonster opened this issue 3 years ago • 1 comments

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 TAG aggregaton.
  • [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.

cornmonster avatar Jul 13 '22 06:07 cornmonster

I will handle this feature afterwards~ Thanks for your contribution @cornmonster

ericpai avatar Aug 30 '22 14:08 ericpai