This is an automated email from the ASF dual-hosted git repository.

blerer 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 b3f2738  Mark system_views/system_virtual_schema as system keyspaces 
in cqlsh
b3f2738 is described below

commit b3f27381a5efcf3d06bceb211c72479abcd6004a
Author: Eduard Tudenhoefner <eduard.tudenhoef...@datastax.com>
AuthorDate: Wed Apr 8 11:43:39 2020 +0200

    Mark system_views/system_virtual_schema as system keyspaces in cqlsh
    
    patch by Eduard Tudenhoefner; reviewed by Benjamin Lerer for
    CASSANDRA-15706
    
    This is so that those keyspaces don't show up in tab completions. This
    also fixes the cqlsh completion tests.
---
 pylib/cqlshlib/cql3handling.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pylib/cqlshlib/cql3handling.py b/pylib/cqlshlib/cql3handling.py
index eabb059..8738f10 100644
--- a/pylib/cqlshlib/cql3handling.py
+++ b/pylib/cqlshlib/cql3handling.py
@@ -34,7 +34,7 @@ class UnexpectedTableStructure(UserWarning):
         return 'Unexpected table structure; may not translate correctly to 
CQL. ' + self.msg
 
 
-SYSTEM_KEYSPACES = ('system', 'system_schema', 'system_traces', 'system_auth', 
'system_distributed')
+SYSTEM_KEYSPACES = ('system', 'system_schema', 'system_traces', 'system_auth', 
'system_distributed', 'system_views', 'system_virtual_schema')
 NONALTERBALE_KEYSPACES = ('system', 'system_schema')
 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to