Apache Doris 中文技术论坛
Questions Tags Users Badges

【已解决】sql黑名单golbal参数设置为false时未生效

Asked Apr 25, 2024 Modified Apr 25, 2024
Viewed 77
2.1

黑名单创建语句:
create SQL_BLOCK_RULE test_rule
PROPERTIES(
"sql"="select \* from \w+",
"global"="false",
"enable"="true"
)
查询未生效
image.png
将global参数改为true后黑名单生效
image.png

edited Apr 25, 2024
Sol.7
asked Apr 25, 2024
1 Answers

用法问题,false的时候需要设置sql rule适用的用户
https://doris.apache.org/zh-CN/docs/sql-manual/sql-reference/Account-Management-Statements/SET-PROPERTY

edited Jan 1, 1970
徐振超@SelectDB(可以直接加微信Faith_xzc)8286
answered Apr 25, 2024
Related Questions
集群规划问题
1 answers
2.1.11版本,新优化器,执行计划隐式类型转换丢失精度,导致数据不一致
1 answers
doris2.0.7集群迁移到新搭建的doris2.1.11集群
1 answers
多台BE节点异常宕机
1 answers
be streamload任务超时被取消但scanner线程出现coredump
1 answers
flink更新Doris数据
1 answers

Terms of service Privacy policy

Powered by Answer - the open-source software that powers Q&A communities.
Made with love © 2026 Apache Doris 中文技术论坛.