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/cassandra-3.0 Commit: 68ea4edb33a9907a1a2e1cde0374a52225b519b0 Parents: 5cafe86 Author: Michael Edge <edge.mich...@gmail.com> Authored: Wed Nov 25 11:54:11 2015 -0600 Committer: Tyler Hobbs <tylerlho...@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()