frankgh commented on code in PR #19:
URL: 
https://github.com/apache/cassandra-analytics/pull/19#discussion_r1391833647


##########
cassandra-four-zero/src/main/java/org/apache/cassandra/spark/reader/SchemaBuilder.java:
##########
@@ -519,7 +519,7 @@ private List<CqlField> buildFields(TableMetadata metadata, 
Map<String, CqlField.
             boolean isPartitionKey = col.isPartitionKey();
             boolean isClusteringColumn = col.isClusteringColumn();
             boolean isStatic = col.isStatic();
-            String name = col.name.toCQLString();
+            String name = col.name.toString();

Review Comment:
   `toCQLString` gives us the quoted string, but we immediately drop the quotes 
when creating the field. So we should just return the unquoted string, which is 
what we use



-- 
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: commits-unsubscr...@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to