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

【已解决】sql hint里的SET_VAR失效

Asked Aug 14, 2024 Modified Aug 20, 2024
Viewed 103
2.1

2.1版本,用hint方式set变量不起作用,是舍弃这个功能了还是bug?

image.png

edited Aug 20, 2024
labuladuo17
asked Aug 14, 2024
2 Answers

客户端连接过滤掉了注释,mysql连接时要带上-c参数

edited Jan 1, 1970
labuladuo17
answered Aug 15, 2024

你这个具体的版本是什么?这个测试是没有问题的

edited Jan 1, 1970
徐振超@SelectDB(可以直接加微信Faith_xzc)8286
answered Aug 15, 2024
Related Questions
Flink Connector 26.3.0 读取 DATETIME 变成 1970 年,切换 25.0.0 后正常
1 answers
SelectDB Doris 2.1.8-3 升级使用灵活部分列更新,推荐版本及升级流程咨询
max_by会不会忽略null值
1 answers
Apache Doris默认口令登录漏洞
Apache Doris Dashboard未授权访问漏洞
1 answers
Doris2.1.6升级为Doris2.1.11后全部be节点进程频繁停止运行
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 中文技术论坛.