-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](test) Failed to show create table for async mv #55278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
run buildall |
dataroaring
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
f7eb8bb to
d12bb3a
Compare
|
run buildall |
|
run cloud_p0 |
|
run p0 |
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`
```
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`
```
now: