Skip to content

[opt](Nereids) remove restrict for count(*) in window (#35220) - #35452

Merged
morrySnow merged 1 commit into
apache:branch-2.0from
morrySnow:2.0_35220
May 27, 2024
Merged

[opt](Nereids) remove restrict for count(*) in window (#35220)#35452
morrySnow merged 1 commit into
apache:branch-2.0from
morrySnow:2.0_35220

Conversation

@morrySnow

Copy link
Copy Markdown
Contributor

pick from master #35220

support count(*) used for window function

CREATE TABLE t1 (
id INT NULL,
dt TEXT NULL
)
DISTRIBUTED BY HASH(id) BUCKETS 10
PROPERTIES (
"replication_allocation" = "tag.location.default: 1" );

select , count() over() from t1;

pick from master apache#35220
support count(*) used for window function
CREATE TABLE `t1` (
`id` INT NULL,
`dt` TEXT NULL
)
DISTRIBUTED BY HASH(`id`) BUCKETS 10
PROPERTIES (
"replication_allocation" = "tag.location.default: 1"
);
select *, count(*) over() from t1;
@morrySnow

Copy link
Copy Markdown
ContributorAuthor

run buildall

@doris-robot

Copy link
Copy Markdown

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@morrySnow
morrySnow merged commit f8ea072 into apache:branch-2.0May 27, 2024
@morrySnow
morrySnow deleted the 2.0_35220 branch May 27, 2024 10:16
mongo360 pushed a commit to mongo360/doris that referenced this pull request Aug 16, 2024
…pache#35452)
pick from master apache#35220
support count(*) used for window function
CREATE TABLE `t1` (
`id` INT NULL,
`dt` TEXT NULL
)
DISTRIBUTED BY HASH(`id`) BUCKETS 10
PROPERTIES (
"replication_allocation" = "tag.location.default: 1"
);
select *, count(*) over() from t1;
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@morrySnow@doris-robot