Uh oh!
There was an error while loading. Please reload this page.
[fix](nereids)alter sql block rule lost sql pattern info - #53559
Conversation
Thearas
commented
Jul 18, 2025
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
starocean999
commented
Jul 18, 2025
run buildall |
doris-robot
commented
Jul 18, 2025
TPC-H: Total hot run time: 34239 ms |
doris-robot
commented
Jul 18, 2025
TPC-DS: Total hot run time: 191472 ms |
doris-robot
commented
Jul 18, 2025
ClickBench: Total hot run time: 32.66 s |
hello-stephen
commented
Jul 18, 2025
FE UT Coverage ReportIncrement line coverage |
starocean999
commented
Jul 22, 2025
run buildall |
doris-robot
commented
Jul 22, 2025
TPC-H: Total hot run time: 34184 ms |
doris-robot
commented
Jul 22, 2025
TPC-DS: Total hot run time: 191420 ms |
doris-robot
commented
Jul 22, 2025
ClickBench: Total hot run time: 33.49 s |
hello-stephen
commented
Jul 22, 2025
FE UT Coverage ReportIncrement line coverage |
starocean999
commented
Jul 24, 2025
run buildall |
doris-robot
commented
Jul 24, 2025
TPC-H: Total hot run time: 33865 ms |
doris-robot
commented
Jul 24, 2025
TPC-DS: Total hot run time: 186723 ms |
doris-robot
commented
Jul 24, 2025
ClickBench: Total hot run time: 32.4 s |
hello-stephen
commented
Jul 24, 2025
FE UT Coverage ReportIncrement line coverage |
| CREATE SQL_BLOCK_RULE rule_drop | ||
| PROPERTIES( | ||
| "sql"="select \\* from order_analysis", |
There was a problem hiding this comment.
not get the purpose of this case
There was a problem hiding this comment.
without the change, sqlPattern will be 'NULL', so 'select NULL' would hit this sql block rule
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
morrySnow
commented
Jul 30, 2025
run check_coverage |
Uh oh!
There was an error while loading. Please reload this page.
CREATE SQL_BLOCK_RULE rule_drop
PROPERTIES(
"sql"="select \\* from order_analysis",
"global"="true",
"enable"="true");
ALTER SQL_BLOCK_RULE rule_drop PROPERTIES("global"="true");
when ALTER SQL_BLOCK_RULE, we use new properties in the command and keep
other properties unchanged, but we need call setSqlPattern to fill the
new sql pattern or it will be 'NULL' which is a wrong patternCREATE SQL_BLOCK_RULE rule_drop
PROPERTIES(
"sql"="select \\* from order_analysis",
"global"="true",
"enable"="true");
ALTER SQL_BLOCK_RULE rule_drop PROPERTIES("global"="true");
when ALTER SQL_BLOCK_RULE, we use new properties in the command and keep
other properties unchanged, but we need call setSqlPattern to fill the
new sql pattern or it will be 'NULL' which is a wrong patternCREATE SQL_BLOCK_RULE rule_drop
PROPERTIES(
"sql"="select \\* from order_analysis",
"global"="true",
"enable"="true");
ALTER SQL_BLOCK_RULE rule_drop PROPERTIES("global"="true");
when ALTER SQL_BLOCK_RULE, we use new properties in the command and keep
other properties unchanged, but we need call setSqlPattern to fill the
new sql pattern or it will be 'NULL' which is a wrong pattern## Proposed changes pick from apache#53559 <!--Describe your changes.-->
when ALTER SQL_BLOCK_RULE, we use new properties in the command and keep other properties unchanged, but we need call setSqlPattern to fill the new sql pattern or it will be 'NULL' which is a wrong pattern
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)