-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[fix](mtmv) Fix mv is deleted in nested mv causing query err and fix some test #45744
Conversation
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
run buildall |
TPC-H: Total hot run time: 39993 ms
|
TPC-DS: Total hot run time: 195599 ms
|
ClickBench: Total hot run time: 32.68 s
|
run buildall |
@@ -130,6 +130,9 @@ suite("test_select_column_auth","p0,auth") { | |||
sql """grant select_priv(sum_id) on ${dbName}.${mtmv_name} to ${user}""" | |||
sql """grant select_priv(id) on ${dbName}.${tableName} to ${user}""" | |||
connect(user, "${pwd}", context.config.jdbcUrl) { | |||
logger.info("show grants;") |
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.
Only print this string?
@@ -96,6 +96,10 @@ suite("mv_on_unique_table") { | |||
AS | |||
${mv1} | |||
""") | |||
|
|||
def desc_all_mv1 = sql """desc lineitem_2_uniq all;""" | |||
logger.info("desc mv1 is" + desc_all_mv1) |
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.
not need desc_all_mv1.toString()
?
@@ -115,7 +119,9 @@ suite("is_in_debug_mode") { | |||
AS select * from orders where o_orderkey > 2; | |||
""" | |||
} catch (Exception e) { | |||
Assert.assertTrue(e.getMessage().contains("because is in debug mode")) | |||
def message = e.getMessage() | |||
logger.info("test_create_mv3" + message) |
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.
suggest: logger.info("test_create_mv3: " + message)
TPC-H: Total hot run time: 39452 ms
|
TPC-DS: Total hot run time: 196475 ms
|
ClickBench: Total hot run time: 32.16 s
|
run buildall |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
TPC-H: Total hot run time: 39863 ms
|
TPC-DS: Total hot run time: 190372 ms
|
ClickBench: Total hot run time: 32.62 s
|
…some test (#45744) ### What problem does this PR solve? Related PR: #45045 Problem Summary: if mv2 sql contains mv1 as following, if drop mv_level_1, query mv2 directly would cause err, this fix this CREATE MATERIALIZED VIEW mv2 BUILD IMMEDIATE REFRESH COMPLETE ON MANUAL DISTRIBUTED BY RANDOM BUCKETS 2 PROPERTIES ('replication_num' = '1') AS SELECT * FROM mv_level_1;
…some test (apache#45744) Related PR: apache#45045 Problem Summary: if mv2 sql contains mv1 as following, if drop mv_level_1, query mv2 directly would cause err, this fix this CREATE MATERIALIZED VIEW mv2 BUILD IMMEDIATE REFRESH COMPLETE ON MANUAL DISTRIBUTED BY RANDOM BUCKETS 2 PROPERTIES ('replication_num' = '1') AS SELECT * FROM mv_level_1;
…err and fix some test #45744 (#45843) Cherry-picked from #45744 Co-authored-by: seawinde <[email protected]>
What problem does this PR solve?
if mv2 sql contains mv1 as following, if drop mv_level_1, query mv2 directly would cause err, this fix this
Issue Number: close #xxx
Related PR: #45045
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)