You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by sm...@apache.org on 2022/10/21 20:56:57 UTC
[cassandra] branch trunk updated: Add memtable option among possible tab completions for a table
This is an automated email from the ASF dual-hosted git repository.
smiklosovic pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/trunk by this push:
new c71f04bd5b Add memtable option among possible tab completions for a table
c71f04bd5b is described below
commit c71f04bd5b19994e2f2c52a67f2ea1d139fcbfd3
Author: Stefan Miklosovic <sm...@apache.org>
AuthorDate: Fri Oct 21 16:01:36 2022 +0200
Add memtable option among possible tab completions for a table
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-17982
---
CHANGES.txt | 1 +
pylib/cqlshlib/cql3handling.py | 1 +
pylib/cqlshlib/test/test_cqlsh_completion.py | 3 +++
3 files changed, 5 insertions(+)
diff --git a/CHANGES.txt b/CHANGES.txt
index ee01325b8b..361274e07f 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
4.2
+ * Add memtable option among possible tab completions for a table (CASSANDRA-17982)
* Adds a trie-based memtable implementation (CASSANDRA-17240)
* Further improves precision of memtable heap tracking (CASSANDRA-17240)
* Fix formatting of metrics documentation (CASSANDRA-17961)
diff --git a/pylib/cqlshlib/cql3handling.py b/pylib/cqlshlib/cql3handling.py
index d249c63654..4675ecfd2b 100644
--- a/pylib/cqlshlib/cql3handling.py
+++ b/pylib/cqlshlib/cql3handling.py
@@ -52,6 +52,7 @@ class Cql3ParsingRuleSet(CqlParsingRuleSet):
('default_time_to_live', None),
('speculative_retry', None),
('additional_write_policy', None),
+ ('memtable', None),
('memtable_flush_period_in_ms', None),
('cdc', None),
('read_repair', None),
diff --git a/pylib/cqlshlib/test/test_cqlsh_completion.py b/pylib/cqlshlib/test/test_cqlsh_completion.py
index d2b8afe4b6..0619cf2781 100644
--- a/pylib/cqlshlib/test/test_cqlsh_completion.py
+++ b/pylib/cqlshlib/test/test_cqlsh_completion.py
@@ -621,6 +621,7 @@ class TestCqlshCompletion(CqlshCompletionCase):
'compression',
'default_time_to_live', 'gc_grace_seconds',
'max_index_interval',
+ 'memtable',
'memtable_flush_period_in_ms',
'CLUSTERING',
'COMPACT', 'caching', 'comment',
@@ -631,6 +632,7 @@ class TestCqlshCompletion(CqlshCompletionCase):
'compression',
'default_time_to_live', 'gc_grace_seconds',
'max_index_interval',
+ 'memtable',
'memtable_flush_period_in_ms',
'CLUSTERING',
'COMPACT', 'caching', 'comment',
@@ -679,6 +681,7 @@ class TestCqlshCompletion(CqlshCompletionCase):
'compression',
'default_time_to_live', 'gc_grace_seconds',
'max_index_interval',
+ 'memtable',
'memtable_flush_period_in_ms',
'CLUSTERING',
'COMPACT', 'caching', 'comment',
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org