CqlRecordReader unnecessarily quotes the keyspace when connecting, when the java driver will.

patch by Cyril Scetbon; reviewed by Mick Semb Wever for CASSANDRA-10751
This commit is contained in:
Mick Semb Wever 2018-05-01 21:00:25 +10:00
parent 3a713827f4
commit 1b0b113fac
No known key found for this signature in database
GPG Key ID: E91335D77E3E87CB
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
2.2.13
* CqlRecordReader no longer quotes the keyspace when connecting, as the java driver will (CASSANDRA-10751)
* Fix compaction failure caused by reading un-flushed data (CASSANDRA-12743)
* Use Bounds instead of Range for sstables in anticompaction (CASSANDRA-14411)
* Fix JSON queries with IN restrictions and ORDER BY clause (CASSANDRA-14286)

View File

@ -133,7 +133,7 @@ public class CqlRecordReader extends RecordReader<Long, Row>
}
if (cluster != null)
session = cluster.connect(quote(keyspace));
session = cluster.connect(keyspace);
if (session == null)
throw new RuntimeException("Can't create connection session");