-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support GROUP BY
modifiers
#4250
Comments
My also encountered the same problem with TIDB, and when writing SQL, the following mistakes were made:
This problem may directly affect the running of our online production environment, when can you increase the function, or tell us how to solve the problem. @hanfei1991 |
@Lloyd-longfei Thanks for your feed back, I'm sorry to tell you that For now, a workaround is to write another sql to get the aggregation summary, see https://dev.mysql.com/doc/refman/5.7/en/group-by-modifiers.html for more detail. |
Confirming that this feature is still missing:
|
this feature is still not support as tidb 2.1.7,and which version to support ROLLUP and CUBE
|
TiDB-v5.0.0 still does not support the "ROLLUP" fuction. Our product managers and staff managers like to write the BI statistics queries with the "ROLLUP" fuction , and hard to remove all of the "ROLLUP" from the losts of queries . |
/pick |
/assign |
We already supported |
Request Description
MySQL and Oracle support
ROLLUP
modifier, SQL Server also supportsCUBE
andGROUPING SETS
References:
An example in MySQL:
Category
Feature
Value
It's hard to tell the value for now. Quoted from https://docs.oracle.com/cd/F49540_01/DOC/server.815/a68003/rollup_c.htm:
I think the value of this request is to improve the usability and performance in Business Intelligence(BI) scenarios. No need to run several aggregate queries to get another level aggregate result. I'm curious about whether are some BI tools rely on this feature.
Workload Estimation
The text was updated successfully, but these errors were encountered: