Is there a way to specific consistency level, such as RequestPlus, when executing queries via the Query Workbench? We’re writing a pair of maintenance queries where the second query needs to have the mutations from the first query indexed before running. Since the second query is also a mutation query, running with inconsistent results could be problematic.
\SET -scan_consistency REQUEST_PLUS;
(Since scan consistency is a query parameter. All query parameters are set using - prefix followed by the value.)
select * …
For query workbench @eben will be the best person to suggest a solution.
Once you set the value of scan_consistency in the shell, it sets it for all the queries that are executed until \UNSET.
So if you want the value to only be set for a single query, you can do the following
\SET -scan_consistency REQUEST_PLUS;
select … ;
\UNSET -scan_consistency;
select … (This query will not have the scan consistency set… )