TablePlus-Windows icon indicating copy to clipboard operation
TablePlus-Windows copied to clipboard

Cassandra Change Consistency Level

Open jnorcross opened this issue 3 years ago • 2 comments

  1. Which driver are you using and version of it (Ex: PostgreSQL 10.0): Cassandra 4.0.6

  2. Which TablePlus build number are you using (the number on the welcome screen, Ex: build 81): Build 202 Version 4.10.5 (202) - x64

  3. The steps to reproduce this issue: Connect to a Cassandra database Change the consistency level for the session using the Consistency command: CONSISTENCY QUORUM;

Actual: Error occurs "Query 1: line 1:0 no viable alternative at input 'CONSISTENCY' ([CONSISTENCY]...)" Expected: The query should execute successfully and change the consistency level for all queries in the current session to Quorum.

Is there a way to change the consistency level in Table Plus? Seems like the system always uses LocalOne as the consistency level.

jnorcross avatar Sep 01 '22 16:09 jnorcross

Hi @jnorcross did you manage to get a solution or workaround?

mathiasfk avatar Jun 17 '24 19:06 mathiasfk

@mathiasfk Issue still occurs on latest version: Table Plus 6.0.0 Build 274 x64

There is no workaround through Table Plus, we end up having to use cqlsh or .Net applications to query the data at the appropriate consistency level.

jnorcross avatar Jun 17 '24 19:06 jnorcross