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

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

Asked Apr 25, 2024 Modified Apr 25, 2024
Viewed 26
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
徐振超@SelectDB7446
answered Apr 25, 2024
Related Questions
doris的be奔溃,版本2.1.7
1 answers
Doris开启了2阶段提交,且事务已经被清理了,如何判断最近一次的ckp对应的事务是否正常提交了
报错: Failed to get scan range, no queryable replica found in tablet
1 answers
求助!x2doris同步经常中断
1 answers
Apache Doris内存不够,为什么不像spark一样排队处理,Tablet排队一个个处理,而是报错,请问这个解释对吗
1 answers
fe节点jvm gc频繁,偶尔出现fe节点be节点通讯报错

Terms of service Privacy policy

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