Can't create a prepared statement with a dynamic LIMIT value

Description

session.prepare("select * from mytable limit ?")
raises the exception com.datastax.driver.core.exceptions.SyntaxError: line 1:51 mismatched input '?' expecting INTEGER

Environment

None

Pull Requests

None

Status

Assignee

Unassigned

Reporter

Matt Conway

Labels

None

PM Priority

None

Reproduced in

None

Affects versions

None

Fix versions

None

Pull Request

None

Doc Impact

None

Size

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

Priority

Major
Configure