why UDAF function "Median" can not work with "group by"
Open
- Dominant language
- Java
- Stars
- 6.4k
- Forks
- 1.2k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 115
Description
Version: 1.0.0
IoTDB> select Median(temperature) from root.iot.wf0abcdefsjdfksjfkjsd001.ksjfisfisjfjsf001 group by ([2023-02-08, 2023-02-09T23:00:00),1m);
Msg: 701: Common queries and aggregated queries are not allowed to appear at the same time
Contributor guide
Research direction
Reproduce the reported Median query with GROUP BY in IoTDB 1.0.0 and start by tracing the query validation that emits error 701 for common and aggregated queries. Identify the handling of UDAF Median with grouped time windows; done when the query executes and returns grouped median results without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100