sqlc icon indicating copy to clipboard operation
sqlc copied to clipboard

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

Open Pikachu1024 opened this issue 4 months ago • 0 comments

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 avatar Jun 05 '25 09:06 Pikachu1024