Skip to content

Conversation

@github-actions
Copy link
Contributor

Cherry-picked from #55278

now:
```
CREATE TABLE t (
    id int,
    test int,
    `k` int
)
DUPLICATE KEY(`id`)
PARTITION BY range(`id`) (
    partition p1 values less than (5),
    partition p2 values less than (10)
)
DISTRIBUTED BY HASH(`id`) BUCKETS 1
PROPERTIES (
    "replication_num" = "1"
);

insert into t values (1,1,1);
insert into t values (1,2,1);
insert into t values (1,3,1);

CREATE MATERIALIZED VIEW mv
BUILD IMMEDIATE REFRESH AUTO
PROPERTIES ('replication_num' = '1')
AS (select test, id from t);
```
```
2025-08-26 10:09:31.355 INFO [suite-thread-1] (Suite.groovy:414) - Execute sql: show databases
2025-08-26 10:09:31.360 INFO [suite-thread-1] (Suite.groovy:414) - Execute sql:  show tables from db 
2025-08-26 10:09:31.362 INFO [suite-thread-1] (Suite.groovy:414) - Execute sql: show create table db.mv
2025-08-26 10:09:31.374 INFO [suite-thread-1] (Suite.groovy:414) - Execute sql: show create materialized view db.mv
2025-08-26 10:09:31.378 INFO [suite-thread-1] (check_meta.groovy:51) - select count database: db, table mv
2025-08-26 10:09:31.380 INFO [suite-thread-1] (Suite.groovy:414) - Execute sql:  select /*+ SET_VAR(enable_push_down_no_group_agg=false) */ count(*) from db.`mv` 
2025-08-26 10:09:31.407 INFO [suite-thread-1] (Suite.groovy:414) - Execute sql:  select /*+ SET_VAR(enable_push_down_no_group_agg=false) */ count(*) from db.`mv` 
2025-08-26 10:09:31.432 INFO [suite-thread-1] (Suite.groovy:414) - Execute sql:  select /*+ SET_VAR(enable_push_down_no_group_agg=false) */ count(*) from db.`mv` 
2025-08-26 10:09:31.457 INFO [suite-thread-1] (Suite.groovy:414) - Execute sql:  select /*+ SET_VAR(enable_push_down_no_group_agg=false) */ count(*) from db.`mv` 
2025-08-26 10:09:31.482 INFO [suite-thread-1] (Suite.groovy:414) - Execute sql:  select /*+ SET_VAR(enable_push_down_no_group_agg=false) */ count(*) from db.`mv` 
2025-08-26 10:09:31.508 INFO [suite-thread-1] (Suite.groovy:414) - Execute sql:  select /*+ SET_VAR(enable_push_down_no_group_agg=false) */ count(*) from db.`mv`
```
@github-actions github-actions bot requested a review from dataroaring as a code owner August 29, 2025 09:28
@hello-stephen
Copy link
Contributor

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

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@dataroaring dataroaring reopened this Aug 29, 2025
@hello-stephen
Copy link
Contributor

run buildall

Copy link
Contributor

@dataroaring dataroaring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dataroaring dataroaring merged commit 2f6f423 into branch-3.0 Aug 29, 2025
25 of 26 checks passed
@github-actions github-actions bot deleted the auto-pick-55278-branch-3.0 branch August 29, 2025 13:30
@gavinchou gavinchou mentioned this pull request Sep 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants