cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tylerho...@apache.org
Subject [3/8] cassandra git commit: cqlsh: print column names before COPY operation
Date Wed, 25 Nov 2015 17:58:22 GMT
cqlsh: print column names before COPY operation

Patch by Michael Edge; reviewed by Tyler Hobbs for CASSANDRA-8935


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

Branch: refs/heads/trunk
Commit: 68ea4edb33a9907a1a2e1cde0374a52225b519b0
Parents: 5cafe86
Author: Michael Edge <edge.michael@gmail.com>
Authored: Wed Nov 25 11:54:11 2015 -0600
Committer: Tyler Hobbs <tylerlhobbs@gmail.com>
Committed: Wed Nov 25 11:54:11 2015 -0600

----------------------------------------------------------------------
 CHANGES.txt | 1 +
 bin/cqlsh   | 2 ++
 2 files changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/68ea4edb/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 6f69f03..8548d71 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 2.1.12
+ * (cqlsh) Print column names before COPY operation (CASSANDRA-8935)
  * Add Native-Transport-Requests back to tpstats (CASSANDRA-10044)
  * Make paging logic consistent between searcher impls (CASSANDRA-10683)
  * Fix CompressedInputStream for proper cleanup (CASSANDRA-10012)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/68ea4edb/bin/cqlsh
----------------------------------------------------------------------
diff --git a/bin/cqlsh b/bin/cqlsh
index f4bedcd..3e830b5 100755
--- a/bin/cqlsh
+++ b/bin/cqlsh
@@ -1551,6 +1551,8 @@ class Shell(cmd.Cmd):
         cleancopyoptvals = [optval.decode('string-escape') for optval in copyoptvals]
         opts = dict(zip(copyoptnames, cleancopyoptvals))
 
+        print "\nStarting copy of %s.%s with columns %s." % (ks, cf, columns)
+
         timestart = time.time()
 
         direction = parsed.get_binding('dir').upper()


Mime
View raw message