Skip to content

[fix](mtmv) Add debug log decide for performance when query rewrite by materialized view (#39914)#39952

Merged
yiguolei merged 1 commit intoapache:branch-2.1from
seawinde:mv_add_debug_log_model
Aug 27, 2024
Merged

[fix](mtmv) Add debug log decide for performance when query rewrite by materialized view (#39914)#39952
yiguolei merged 1 commit intoapache:branch-2.1from
seawinde:mv_add_debug_log_model

Conversation

@seawinde
Copy link
Member

Proposed changes

In method AbstractMaterializedViewRule#isMaterializationValid Should add LOG.isDebugEnabled() before print debug log. Because Plan#treeString in debug log is performance consume.

Proposed changes

pr: #39914
commitId: 45ddb8c

…y materialized view (apache#39914)

## Proposed changes
In method `AbstractMaterializedViewRule#isMaterializationValid`
Should add `LOG.isDebugEnabled()` before print debug log. 
Because `Plan#treeString` in debug log is performance consume.
@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.

@seawinde
Copy link
Member Author

run buildall

@yiguolei yiguolei merged commit a4c5c03 into apache:branch-2.1 Aug 27, 2024
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