The ScyllaDB team is pleased to announce scylla-cdc-rust v0.6.2, a library that makes it easy to develop Rust applications that consume data from a Scylla Change Data Capture Log.
New: CQL identifier quoting (CqlIdentifier)
A new CqlIdentifier type has been introduced to properly double-quote keyspace and table names when constructing CQL statements. This fixes a correctness bug where mixed-case identifiers (e.g. keyspaces created by Alternator) were silently case-folded by CQL, causing queries to target the wrong keyspace or table.
Bug fixed
- Mixed-case keyspace/table names now work correctly. Previously, names like
MyKeyspacewere interpolated unquoted into CQL strings, causing CQL to normalize them to lowercase (mykeyspace). All query construction sites now useCqlIdentifier, which wraps names in double quotes and escapes embedded"characters by doubling them, following the CQL grammar.
New public API
scylla_cdc::CqlIdentifier— newtype that produces double-quoted CQL identifiers viaDisplay, with proper escaping of embedded"characters.