[ 
https://issues.apache.org/jira/browse/CASSANDRASC-76?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17791225#comment-17791225
 ] 

ASF subversion and git services commented on CASSANDRASC-76:
------------------------------------------------------------

Commit 31fa33fcb446e522947f899d948de4042be04c62 in cassandra-sidecar's branch 
refs/heads/trunk from Francisco Guerrero
[ https://gitbox.apache.org/repos/asf?p=cassandra-sidecar.git;h=31fa33f ]

CASSANDRASC-76: Sidecar does not handle keyspaces and table names with mixed 
case

Cassandra Sidecar does not properly handle API requests for endpoints that have 
keypaces
or table names that need to be quoted, for example when names have mixed case 
or when
the name is a reserved keyword in Cassandra.

In this commit, we perform special handling when the keyspace or table names 
are quoted
in the path params. We add tests to ensure that handling is correct.

Additionally, we fix the validation for keyspaces and table names without 
quotes and add
special validation for quoted names.

Patch by Francisco Guerrero; Reviewed by Yifan Cai for CASSANDRASC-76


> Sidecar does not handle keyspaces and table names with mixed case
> -----------------------------------------------------------------
>
>                 Key: CASSANDRASC-76
>                 URL: https://issues.apache.org/jira/browse/CASSANDRASC-76
>             Project: Sidecar for Apache Cassandra
>          Issue Type: Bug
>          Components: Rest API
>            Reporter: Francisco Guerrero
>            Assignee: Francisco Guerrero
>            Priority: Normal
>              Labels: pull-request-available
>
> Cassandra supports mixed case for keyspaces, table names, and column names. 
> Sidecar always assumes the keyspace and table is lowercase, and does not work 
> correctly when mixed case or reserved words are used for the name. This 
> prevents many use cases to work correctly.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to