You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by al...@apache.org on 2012/11/19 20:14:31 UTC

[2/2] git commit: cqlsh: improve COPY FROM performance; Patch by Aleksey Yeschenko, reviewed by Brandon Williams for CASSANDRA-4921

cqlsh: improve COPY FROM performance; Patch by Aleksey Yeschenko,
reviewed by Brandon Williams for CASSANDRA-4921


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/7cfdb14e
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/7cfdb14e
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/7cfdb14e

Branch: refs/heads/cassandra-1.2.0
Commit: 7cfdb14efb065cfb9a76a8ae3ec25d35f2fded15
Parents: fab61e3
Author: Aleksey Yeschenko <al...@apache.org>
Authored: Mon Nov 19 22:08:43 2012 +0300
Committer: Aleksey Yeschenko <al...@apache.org>
Committed: Mon Nov 19 22:08:43 2012 +0300

----------------------------------------------------------------------
 CHANGES.txt                      |    1 +
 bin/cqlsh                        |    2 ++
 lib/cql-internal-only-1.0.10.zip |  Bin 68142 -> 0 bytes
 lib/cql-internal-only-1.4.0.zip  |  Bin 0 -> 91855 bytes
 4 files changed, 3 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/7cfdb14e/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index a89184e..b32b3b6 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 1.1.7
+ * cqlsh: improve COPY FROM performance (CASSANDRA-4921)
  * add basic authentication support for Pig CassandraStorage (CASSANDRA-3042)
  * fix CQL2 ALTER TABLE compaction_strategy_class altering (CASSANDRA-4965)
  * reset getRangeSlice filter after finishing a row for get_paged_slice

http://git-wip-us.apache.org/repos/asf/cassandra/blob/7cfdb14e/bin/cqlsh
----------------------------------------------------------------------
diff --git a/bin/cqlsh b/bin/cqlsh
index 5728240..ac9e167 100755
--- a/bin/cqlsh
+++ b/bin/cqlsh
@@ -1237,6 +1237,8 @@ class Shell(cmd.Cmd):
         self.prompt = prompt
 
     def cql_protect_name(self, name):
+        if isinstance(name, unicode):
+            name = name.encode('utf8')
         return cqlruleset.maybe_escape_name(name)
 
     def cql_protect_value(self, value):

http://git-wip-us.apache.org/repos/asf/cassandra/blob/7cfdb14e/lib/cql-internal-only-1.0.10.zip
----------------------------------------------------------------------
diff --git a/lib/cql-internal-only-1.0.10.zip b/lib/cql-internal-only-1.0.10.zip
deleted file mode 100644
index c4ca8f2..0000000
Binary files a/lib/cql-internal-only-1.0.10.zip and /dev/null differ

http://git-wip-us.apache.org/repos/asf/cassandra/blob/7cfdb14e/lib/cql-internal-only-1.4.0.zip
----------------------------------------------------------------------
diff --git a/lib/cql-internal-only-1.4.0.zip b/lib/cql-internal-only-1.4.0.zip
new file mode 100644
index 0000000..10dfeaf
Binary files /dev/null and b/lib/cql-internal-only-1.4.0.zip differ