From 5aaa5cad6eed26f6a20ef586e615192bfeca9cc1 Mon Sep 17 00:00:00 2001 From: Alex Buck Date: Fri, 26 Jun 2015 13:29:51 -0500 Subject: [PATCH] cqlsh: Add min_threshold to DTCS autocomplete options Patch by Alex Buck; reviewed by Tyler Hobbs for CASSANDRA-9385 --- CHANGES.txt | 1 + pylib/cqlshlib/cql3handling.py | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGES.txt b/CHANGES.txt index 80b4a8db0c..68a9bf4ca7 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,4 +1,5 @@ 2.0.17 + * (cqlsh) Add min_threshold to DTCS option autocomplete (CASSANDRA-9385) * Fix error message when attempting to create an index on a column in a COMPACT STORAGE table with clustering columns (CASSANDRA-9527) * 'WITH WITH' in alter keyspace statements causes NPE (CASSANDRA-9565) diff --git a/pylib/cqlshlib/cql3handling.py b/pylib/cqlshlib/cql3handling.py index 9e9b6ad4b6..8b0cda9592 100644 --- a/pylib/cqlshlib/cql3handling.py +++ b/pylib/cqlshlib/cql3handling.py @@ -482,6 +482,7 @@ def cf_prop_val_mapkey_completer(ctxt, cass): opts.add('base_time_seconds') opts.add('max_sstable_age_days') opts.add('timestamp_resolution') + opts.add('min_threshold') return map(escape_value, opts) return ()