Skip to content

SQLC has compatibility issues with Doris parser when parsing preprocessed statements for queries with the parameterized keyword 'LIMIT' #3981

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Pikachu1024 opened this issue Jun 5, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Pikachu1024
Copy link

Version

1.29.0

What happened?

SQLC has compatibility issues with Doris parser when parsing preprocessed statements for queries with the parameterized keyword 'LIMIT'

Relevant log output

Error 1105HY000 errCode=2 detailMessage=mismatched input 'limit' expecting {<EOF>, ';'}(line 8, pos 4)

Database schema

sqlc: select * from user where id =? order by id asc limit ?;

SQL queries

Configuration

Playground URL

No response

What operating system are you using?

No response

What database engines are you using?

No response

What type of code are you generating?

No response

@Pikachu1024 Pikachu1024 added the bug Something isn't working label Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant