[feature](group by)Support group by with order.#53037
Merged
Jibing-Li merged 1 commit intoapache:masterfrom Jul 10, 2025
Merged
[feature](group by)Support group by with order.#53037Jibing-Li merged 1 commit intoapache:masterfrom
Jibing-Li merged 1 commit intoapache:masterfrom
Conversation
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
morrySnow
reviewed
Jul 10, 2025
fe/fe-core/src/main/java/org/apache/doris/nereids/parser/LogicalPlanBuilder.java
Outdated
Show resolved
Hide resolved
fe/fe-core/src/main/java/org/apache/doris/nereids/parser/LogicalPlanBuilder.java
Outdated
Show resolved
Hide resolved
2f333e6 to
1f2018a
Compare
Contributor
Author
|
run buildall |
morrySnow
reviewed
Jul 10, 2025
fe/fe-core/src/main/java/org/apache/doris/nereids/parser/LogicalPlanBuilder.java
Outdated
Show resolved
Hide resolved
Contributor
FE UT Coverage ReportIncrement line coverage |
TPC-H: Total hot run time: 33359 ms |
TPC-DS: Total hot run time: 186788 ms |
ClickBench: Total hot run time: 29.2 s |
Contributor
Author
|
run buildall |
morrySnow
previously approved these changes
Jul 10, 2025
Contributor
|
PR approved by at least one committer and no changes requested. |
Contributor
|
PR approved by anyone and no changes requested. |
TPC-H: Total hot run time: 32953 ms |
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 33019 ms |
TPC-DS: Total hot run time: 185272 ms |
ClickBench: Total hot run time: 29.38 s |
Contributor
FE UT Coverage ReportIncrement line coverage |
Contributor
FE UT Coverage ReportIncrement line coverage |
Contributor
Author
|
run vault_p0 |
Contributor
|
run p0 |
Contributor
|
run arm |
Contributor
Author
|
run NonConcurrent |
Jibing-Li
added a commit
to Jibing-Li/incubator-doris
that referenced
this pull request
Jul 24, 2025
Support MariaDB syntax: ``` select a, sum(b) from tbl group by a [ASC | DESC]; ``` We have use using looker BI to connect Doris as Mariadb, the BI may generate SQLs like above, we should support his syntax to compatible with looker BI. See: https://mariadb.com/docs/server/reference/sql-statements/data-manipulation/selecting-data/group-by#with-rollup
Jibing-Li
added a commit
to Jibing-Li/incubator-doris
that referenced
this pull request
Jul 24, 2025
Support MariaDB syntax: ``` select a, sum(b) from tbl group by a [ASC | DESC]; ``` We have use using looker BI to connect Doris as Mariadb, the BI may generate SQLs like above, we should support his syntax to compatible with looker BI. See: https://mariadb.com/docs/server/reference/sql-statements/data-manipulation/selecting-data/group-by#with-rollup
Jibing-Li
added a commit
to Jibing-Li/incubator-doris
that referenced
this pull request
Jul 24, 2025
Support MariaDB syntax: ``` select a, sum(b) from tbl group by a [ASC | DESC]; ``` We have use using looker BI to connect Doris as Mariadb, the BI may generate SQLs like above, we should support his syntax to compatible with looker BI. See: https://mariadb.com/docs/server/reference/sql-statements/data-manipulation/selecting-data/group-by#with-rollup
Jibing-Li
added a commit
to Jibing-Li/incubator-doris
that referenced
this pull request
Jul 24, 2025
Support MariaDB syntax: ``` select a, sum(b) from tbl group by a [ASC | DESC]; ``` We have use using looker BI to connect Doris as Mariadb, the BI may generate SQLs like above, we should support his syntax to compatible with looker BI. See: https://mariadb.com/docs/server/reference/sql-statements/data-manipulation/selecting-data/group-by#with-rollup
morrySnow
pushed a commit
that referenced
this pull request
Jul 25, 2025
yiguolei
pushed a commit
that referenced
this pull request
Jul 25, 2025
dataroaring
pushed a commit
that referenced
this pull request
Aug 13, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
Support MariaDB syntax:
We have user using looker BI to connect Doris as Mariadb, the BI may generate SQLs like above, we should support his syntax to compatible with looker BI.
See:
https://mariadb.com/docs/server/reference/sql-statements/data-manipulation/selecting-data/group-by#with-rollup
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)