Skip to content

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

Open
@Pikachu1024

Description

@Pikachu1024

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions