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

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

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

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

image.png

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

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

edited Jan 1, 1970
labuladuo15
answered Aug 15, 2024

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

edited Jan 1, 1970
徐振超@SelectDB7371
answered Aug 15, 2024
Related Questions
Doris查询超时,已在SQL语句设置/*+ query_timeout(3000) */ 仍然在900秒时中断
1 answers
2.1.11版本集成Ranger后,字段脱敏不可用,行过滤偶尔不可用
1 answers
Doris 错误信息提示不准确
1 answers
be挂掉,be.out提示Abort due to name conflict
1 answers
报错: Failed to get scan range, no queryable replica found in tablet
1 answers
DELETE之后存储占用未减少
1 answers

Terms of service Privacy policy

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