Python driver (dse) doesn't support " for RHS string arguments

Description

I would expect to be able to use ' and " interchangeably to surround RHS string arguments.

Python dse driver version 2.2.0

Environment

None

Pull Requests

None

Activity

Show:
Sterling Koch
December 12, 2018, 7:26 AM

This issue was originally reported by Jon Moses as part of an internal UX ticket (UX-34). We're moving all product-related UX tickets to their relative product boards, thus it is here. Jon wasn't sure whether this issue had already been resolved or not.

Jim Witschey
December 12, 2018, 7:49 AM

If I understand you correctly, this is a limitation of CQL, not of the driver – hence the SyntaxException from the server. More generally, the drivers don't parse CQL, they just send it to nodes – so, errors of the class "Session.execute doesn't support <CQL feature>" shouldn't happen with any driver.

I agree with you that this is a CQL misfeature though :/ Sorry I can't be of help there.

Jim Witschey
December 12, 2018, 8:02 AM

Ping for any followup. Any issues with ^, Jon?

Jon Moses
December 13, 2018, 2:07 AM

No, that makes sense.

Invalid

Assignee

Unassigned

Reporter

Sterling Koch

Fix versions

None

Labels

None

Reproduced in

None

PM Priority

None

External issue ID

None

Doc Impact

None

Reviewer

None

Size

None

Pull Request

None

Components

Priority

Major