frankgh commented on code in PR #19:
URL:
https://github.com/apache/cassandra-analytics/pull/19#discussion_r1414346332
##########
cassandra-bridge/src/main/java/org/apache/cassandra/spark/data/CqlField.java:
##########
@@ -263,7 +263,7 @@ public CqlField(boolean isPartitionKey,
this.isPartitionKey = isPartitionKey;
this.isClusteringColumn = isClusteringColumn;
this.isStaticColumn = isStaticColumn;
- this.name = name.replaceAll("\"", "");
+ this.name = name;
Review Comment:
Handling of UDTs is different from handling of keyspace / table. For UDTs,
the bridge was already taking care of preserving the quotes. However, for user
facing options (the keyspace and table specifically), we need special handling
based on whether the user explicitly requests to quote identifiers
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]