From 30f2a2a895ba8bcdd69d684810743a88f874337a Mon Sep 17 00:00:00 2001 From: Adam Holmberg Date: Thu, 15 Oct 2015 09:26:08 -0500 Subject: [PATCH] semicolon following keyspace CQL in export_as_string --- cassandra/metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cassandra/metadata.py b/cassandra/metadata.py index fb512eb8..9750741b 100644 --- a/cassandra/metadata.py +++ b/cassandra/metadata.py @@ -633,7 +633,7 @@ class KeyspaceMetadata(object): Returns a CQL query string that can be used to recreate the entire keyspace, including user-defined types and tables. """ - cql = "\n\n".join([self.as_cql_query()] + cql = "\n\n".join([self.as_cql_query() + ';'] + self.user_type_strings() + [f.export_as_string() for f in self.functions.values()] + [a.export_as_string() for a in self.aggregates.values()]