cqlsh: print column names before COPY operation

Patch by Michael Edge; reviewed by Tyler Hobbs for CASSANDRA-8935
This commit is contained in:
Michael Edge 2015-11-25 11:54:11 -06:00 committed by Tyler Hobbs
parent 5cafe8606f
commit 68ea4edb33
2 changed files with 3 additions and 0 deletions

View File

@ -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)

View File

@ -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()