All issues are open and welcomed to contributors. You can join #sig-exec on tidb community slack to discuss and get help from someone.
At present, the aggregate functions that TiDB supports are:
AVG()BIT_AND()BIT_OR()BIT_XOR()COUNT()COUNT(DISTINCT)GROUP_CONCAT()MAX()MIN()SUM()In order to be compatible with MySQL and Improve the usability of TiDB, the following functions should also be supported in TiDB:
| Name | Description |
|--------------------|-------------------------------------------|
| STD() | Alias for STDDEV_POP function |
| STDDEV() | Alias for STDDEV_POP function |
| STDDEV_POP() | Return the population standard deviation |
| STDDEV_SAMP() | Return the sample standard deviation |
| VARIANCE() | Return the population standard variance |
| VAR_POP() | Return the population standard variance |
| VAR_SAMP() | Return the sample variance |
| JSON_ARRAYAGG() | Return result set as a single JSON array |
| JSON_OBJECTAGG() | Return result set as a single JSON object |
An implementation checklist:
STD()/STDDEV()/STDDEV_POP() @Win-Man #19195STDDEV_SAMP() @Win-Man #19810VARIANCE()/VAR_POP() @githubFZX #14101 VAR_SAMP() @Win-Man #19810JSON_ARRAYAGG() https://github.com/pingcap/tidb/pull/19957JSON_OBJECTAGG() @hg2990656 #11154 Pick up
Pick up success.
This issue already picked by Blue-Sail.
This issue already picked by Blue-Sail.
Give up success.
/pick-up JSON_ARRAYAGG
Pick up success.
@arthuryangcs You did not submit PR within 7 days, so give up automatically.
/pick-up JSON_ARRAYAGG
Pick up success.
@arthuryangcs You did not submit PR within 7 days, so give up automatically.
/pick-up JSON_ARRAYAGG
Pick up success.
@arthuryangcs You did not submit PR within 7 days, so give up automatically.
Most helpful comment
Pick up