Yifan Cai created CASSANALYTICS-208:
---------------------------------------
Summary: Quote keyspace and table identifiers in the
CassandraClientSource read-back query
Key: CASSANALYTICS-208
URL: https://issues.apache.org/jira/browse/CASSANALYTICS-208
Project: Apache Cassandra Analytics
Issue Type: Bug
Components: CDC
Reporter: Yifan Cai
CassandraClientSource.getReadQuery interpolates the keyspace and table names
unquoted, while column names are quoted. For a quoted mixed-case keyspace or
table the CQL parser lower-cases the name, prepare fails, and readFromCassandra
has no handler, so the micro-batch fails and retries on the same mutation. This
change quotes the identifiers the same way as the column names and handles an
unpreparable statement without failing the whole batch.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]