Skip to content

Revisit quotation of CQL identifiers during index creation #1281

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

Closed
mp911de opened this issue Jun 30, 2022 · 0 comments
Closed

Revisit quotation of CQL identifiers during index creation #1281

mp911de opened this issue Jun 30, 2022 · 0 comments
Assignees
Labels
type: bug A general bug

Comments

@mp911de
Copy link
Member

mp911de commented Jun 30, 2022

Index creation for the following table fails because the CQL identifier isn't quoted:

Java code:

@Table
public class Order {

	@Indexed
	private String customerId;

Offending CQL:

CREATE INDEX ON order (customerid);
@mp911de mp911de added the type: task A general task label Jun 30, 2022
@mp911de mp911de added this to the 3.3.6 (2021.1.6) milestone Jul 4, 2022
@mp911de mp911de closed this as completed in b5bd1c0 Jul 4, 2022
mp911de added a commit that referenced this issue Jul 4, 2022
We now use the proper CQL representation applying quoting if necessary when creating indexes. Previously, we just used the plain toString format of the CQL identifier that didn't quote the table name.

Closes #1281.
mp911de added a commit that referenced this issue Jul 4, 2022
We now use the proper CQL representation applying quoting if necessary when creating indexes. Previously, we just used the plain toString format of the CQL identifier that didn't quote the table name.

Closes #1281.
@mp911de mp911de self-assigned this Jul 4, 2022
@mp911de mp911de added type: bug A general bug and removed type: task A general task labels Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant