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

golang gorm limit报错

Asked Aug 1, 2024 Modified Jan 1, 0001
Viewed 84
2.1

在golang中使用gorm查询doris数据,使用了Limit(100),但是报错:
Error 1105 (HY000): errCode = 2, detailMessage = Syntax error in line 1:
...R BY timestamp desc LIMIT ?
^
Encountered: ?
Expected

doris版本2.1.4

edited Jan 1, 0001
volcano5
asked Aug 1, 2024
1 Answers

看着是语法错误,这个sql直接在Doris 中可以查吗?

edited Jan 1, 1970
阿渊@SelectDB (没回帖直接加我主页微信)9405
answered Aug 1, 2024
Related Questions
BE jvm的当前的使用率怎么看
BE出现get_tablet返回空指针导致coredump
2 answers
doris主键表可以bucket配置太小,怎么修改?
1 answers
多张表使用colocate join,如何设计?
1 answers
2.1.7 版本routine load 写入问题
1 answers
doris2.1.11使用外部目录,用catalog的数据创建异步视图,没有数据,需要强制手动刷新才行
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 中文技术论坛.