mirror of https://github.com/apache/cassandra
Fix online help in cqlsh for COPY commands.
Patch by paul cannon, reviewed by brandon williams for CASSANDRA-4469
This commit is contained in:
parent
0819ad144c
commit
2d71a8eea5
|
|
@ -1440,11 +1440,13 @@ class Shell(cmd.Cmd):
|
||||||
r"""
|
r"""
|
||||||
COPY [cqlsh only]
|
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 [, ...] ) ]
|
COPY <table_name> [ ( column [, ...] ) ]
|
||||||
FROM ( '<filename>' | STDIN )
|
FROM ( '<filename>' | STDIN )
|
||||||
[ WITH <option>='value' [AND ...] ];
|
[ WITH <option>='value' [AND ...] ];
|
||||||
|
|
||||||
COPY <table_name> [ ( column [, ...] ) ]
|
COPY <table_name> [ ( column [, ...] ) ]
|
||||||
TO ( '<filename>' | STDOUT )
|
TO ( '<filename>' | STDOUT )
|
||||||
[ WITH <option>='value' [AND ...] ];
|
[ WITH <option>='value' [AND ...] ];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue