bianca-stanciu29 commented on code in PR #226:
URL:
https://github.com/apache/cassandra-analytics/pull/226#discussion_r4247583415
##########
cassandra-analytics-core/src/main/java/org/apache/cassandra/spark/bulkwriter/CassandraClusterInfo.java:
##########
@@ -289,11 +289,12 @@ protected String getCurrentKeyspaceSchema() throws
Exception
private TokenRangeReplicasResponse getTokenRangesAndReplicaSets()
{
CassandraContext context = getCassandraContext();
+ String maybeQuotedKeyspace = maybeQuotedIdentifier(bridge(),
conf.quoteIdentifiers, conf.keyspace);
try
{
long start = System.nanoTime();
TokenRangeReplicasResponse response = context.getSidecarClient()
-
.tokenRangeReplicas(new ArrayList<>(context.getCluster()), conf.keyspace)
+
.tokenRangeReplicas(new ArrayList<>(context.getCluster()), maybeQuotedKeyspace)
Review Comment:
Dropped, thanks. `CassandraClusterInfo` matches trunk again. I kept a test
in `CassandraClusterInfoTest` that checks `tokenRangeReplicas` gets the raw
keyspace.
--
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]