Skip to:
If the table schema changes, it can be useful to clear the metadata of the prepared statements, specially for select * (star) queries.
The easiest approach would be something like client.metadata.clearPrepared()
client.metadata.clearPrepared()
A more smart (maybe too smart) would be to use the cassandra schema change events and clear the corresponding prepared statement metadata.
If the table schema changes, it can be useful to clear the metadata of the prepared statements, specially for select * (star) queries.
The easiest approach would be something like
client.metadata.clearPrepared()
A more smart (maybe too smart) would be to use the cassandra schema change events and clear the corresponding prepared statement metadata.