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 morrySnow as a code owner August 29, 2025 09:29
@morrySnow morrySnow closed this Sep 4, 2025
@morrySnow morrySnow reopened this Sep 4, 2025
@morrySnow
Copy link
Contributor

run buildall

@morrySnow morrySnow merged commit fa1de34 into branch-3.1 Sep 5, 2025
23 checks passed
@github-actions github-actions bot deleted the auto-pick-55278-branch-3.1 branch September 5, 2025 10:18
@morrySnow morrySnow mentioned this pull request Sep 22, 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.

3 participants