From 68ea4edb33a9907a1a2e1cde0374a52225b519b0 Mon Sep 17 00:00:00 2001 From: Michael Edge Date: Wed, 25 Nov 2015 11:54:11 -0600 Subject: [PATCH] cqlsh: print column names before COPY operation Patch by Michael Edge; reviewed by Tyler Hobbs for CASSANDRA-8935 --- CHANGES.txt | 1 + bin/cqlsh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGES.txt b/CHANGES.txt index 6f69f030f0..8548d71d94 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) diff --git a/bin/cqlsh b/bin/cqlsh index f4bedcdf34..3e830b5373 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()