cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject [3/3] git commit: Fix online help in cqlsh for COPY commands. Patch by paul cannon, reviewed by brandon williams for CASSANDRA-4469
Date Sat, 28 Jul 2012 19:05:11 GMT
Fix online help in cqlsh for COPY commands.
Patch by paul cannon, reviewed by brandon williams for CASSANDRA-4469


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

Branch: refs/heads/cassandra-1.1
Commit: 2d71a8eea5e773e879e311fb5d14a06f30093bd4
Parents: 0819ad1
Author: Brandon Williams <brandonwilliams@apache.org>
Authored: Sat Jul 28 14:01:57 2012 -0500
Committer: Brandon Williams <brandonwilliams@apache.org>
Committed: Sat Jul 28 14:01:57 2012 -0500

----------------------------------------------------------------------
 bin/cqlsh |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/2d71a8ee/bin/cqlsh
----------------------------------------------------------------------
diff --git a/bin/cqlsh b/bin/cqlsh
index c4b35fc..a60b6f9 100755
--- a/bin/cqlsh
+++ b/bin/cqlsh
@@ -1440,11 +1440,13 @@ class Shell(cmd.Cmd):
         r"""
         COPY [cqlsh only]
 
-          Imports CSV data into a Cassandra table.
+          COPY x FROM: Imports CSV data into a Cassandra table
+          COPY x TO: Exports data from a Cassandra table in CSV format.
 
         COPY <table_name> [ ( column [, ...] ) ]
              FROM ( '<filename>' | STDIN )
              [ WITH <option>='value' [AND ...] ];
+
         COPY <table_name> [ ( column [, ...] ) ]
              TO ( '<filename>' | STDOUT )
              [ WITH <option>='value' [AND ...] ];


Mime
View raw message