Skip to content

Conversation

@morrySnow
Copy link
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
Contributor Author

run buildall

@doris-robot
Copy link

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.0 May 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 free to 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