doris
doris copied to clipboard
[Enhancement] support offset and limit for prepared statement
Search before asking
- [X] I had searched in the issues and found no similar issues.
Description
MySQL [(none)]> prepare stmt1 from SELECT * FROM `jlg_project_info_new` WHERE status = 3 AND is_full_tag = 1 AND create_time > 0 ORDER BY create_time DESC LIMIT ?;
ERROR 1105 (HY000): errCode = 2, detailMessage = Syntax error in line 1:
...BY create_time DESC LIMIT ?
^
Encountered: ?
Expected
Currently, we do not support using prepared statement with offset and limit? number.
Solution
No response
Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
@eldenmoon Hi, do you have any plans about this issue?
Hello, I want to try this issue, can you assign it to me?
We're closing this issue because it hasn't been updated in a while. If you'd like to revive this issue, please reopen it and feel free a maintainer to remove the Stale tag!